Skip to content

Commit e379f94

Browse files
committedOct 15, 2018
Parsing colors is slow
1 parent 190ee53 commit e379f94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/app/qgsgeometryvalidationdock.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ QgsGeometryValidationDock::QgsGeometryValidationDock( const QString &title, QgsM
6060
mFeatureRubberband->setWidth( scaleFactor );
6161
mFeatureRubberband->setStrokeColor( QColor( 100, 255, 100, 100 ) );
6262

63-
mErrorRubberband->setColor( QColor( "#ffee58ff" ) );
63+
mErrorRubberband->setColor( QColor( 255, 238, 88, 255 ) );
6464
mErrorRubberband->setWidth( scaleFactor );
6565

6666
mErrorLocationRubberband->setIcon( QgsRubberBand::ICON_X );
@@ -332,8 +332,8 @@ void QgsGeometryValidationDock::showHighlight( const QModelIndex &current )
332332
mErrorRubberband->update();
333333
} );
334334

335-
errorAnimation->setStartValue( QColor( "#ffee58ff" ) );
336-
errorAnimation->setEndValue( QColor( "#ffee5800" ) );
335+
errorAnimation->setStartValue( QColor( 255, 238, 88, 255 ) );
336+
errorAnimation->setEndValue( QColor( 255, 238, 88, 0 ) );
337337

338338
errorAnimation->setDuration( 2000 );
339339
errorAnimation->start();

0 commit comments

Comments
 (0)
Please sign in to comment.