Skip to content

Commit

Permalink
Revert "Colorize icon with Qt5Compat.GraphicalEffects instead MultiEf…
Browse files Browse the repository at this point in the history
…fect fro…"

This reverts commit ea2a914.
  • Loading branch information
DonLakeFlyer authored Apr 7, 2024
1 parent ea2a914 commit ef0b498
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/QmlControls/QGCColoredImage.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import QtQuick
import QtQuick.Controls
import Qt5Compat.GraphicalEffects
import QtQuick.Effects

import QGroundControl.Palette

Expand Down Expand Up @@ -35,9 +35,10 @@ Item {
sourceSize.height: height
}

ColorOverlay {
anchors.fill: image
source: image
color: parent.color
MultiEffect {
source: image
anchors.fill: image
colorizationColor: parent.color
colorization: 1.0
}
}

0 comments on commit ef0b498

Please sign in to comment.