Skip to content
Permalink
Browse files

Parsing colors is slow

  • Loading branch information
m-kuhn committed Oct 15, 2018
1 parent 190ee53 commit e379f94f6daebf0fac43524abb4d748d9f7739ea
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgsgeometryvalidationdock.cpp
@@ -60,7 +60,7 @@ QgsGeometryValidationDock::QgsGeometryValidationDock( const QString &title, QgsM
mFeatureRubberband->setWidth( scaleFactor );
mFeatureRubberband->setStrokeColor( QColor( 100, 255, 100, 100 ) );

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

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

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

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

0 comments on commit e379f94

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