Skip to content

Commit

Permalink
Use existing image
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw committed Oct 14, 2024
1 parent 811d3a3 commit 62ed2f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/repeater/demo.slint
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ component WaveImage {

Image {
y: sin(360deg * (root.x / wave-period) ) * wave-size;
source: @image-url("slint-logo-small-light.png");
source: @image-url("../../logo/slint-logo-small-light.png");
width: self.source.width * scale * 1px;
height: self.source.height * scale * 1px;
colorize: #2479f4.mix(white, 1-(scale - 0.3 ));
Expand Down
Binary file removed examples/repeater/slint-logo-small-light.png
Binary file not shown.

0 comments on commit 62ed2f7

Please sign in to comment.