Skip to content

Commit

Permalink
[Fixes #8926, #8987] add alpha channel for rubber band in extentSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Nov 3, 2013
1 parent fb4409b commit 4ddc948
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/plugins/GdalTools/tools/extentSelector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/RectangleMapTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

1 comment on commit 4ddc948

@slarosa
Copy link
Member Author

@slarosa slarosa commented on 4ddc948 Nov 3, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fix is for #8626 and not for #8926

Please sign in to comment.