Skip to content
Permalink
Browse files

[Fixes #8926, #8987] add alpha channel for rubber band in extentSelector

  • Loading branch information
slarosa committed Nov 3, 2013
1 parent fb4409b commit 4ddc948c7b2ab0bc4c8d32093c10b4b532434f49
@@ -131,8 +131,8 @@ def __init__(self, canvas):
QgsMapToolEmitPoint.__init__(self, self.canvas)

self.rubberBand = QgsRubberBand( self.canvas, QGis.Polygon )
self.rubberBand.setColor( Qt.red )
self.rubberBand.setWidth( 1 )
self.rubberBand.setColor( QColor(255, 0, 0, 100) )
self.rubberBand.setWidth( 2 )

self.reset()

@@ -38,8 +38,8 @@ def __init__(self, canvas):
QgsMapToolEmitPoint.__init__(self, self.canvas)

self.rubberBand = QgsRubberBand(self.canvas, QGis.Polygon)
self.rubberBand.setColor(Qt.red)
self.rubberBand.setWidth(1)
self.rubberBand.setColor(QColor(255, 0, 0, 100))
self.rubberBand.setWidth(2)

self.reset()

1 comment on commit 4ddc948

@slarosa

This comment has been minimized.

Copy link
Member Author

@slarosa slarosa commented on 4ddc948 Nov 3, 2013

this fix is for #8626 and not for #8926

Please sign in to comment.
You can’t perform that action at this time.