Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw committed Oct 9, 2024
1 parent 9006a3b commit 799b893
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/fancy-switches/DarkModeSwitch.slint
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export component RayThick {
height: 0px;

i := Image {
property <length> sizeMultiplyer: 0.3px;
width: self.source.width * sizeMultiplyer * 0.8;
height: self.source.height * sizeMultiplyer * 1;
property <length> sizeMultiplier: 0.3px;
width: self.source.width * sizeMultiplier * 0.8;
height: self.source.height * sizeMultiplier;
source: @image-url("images/line.png");
}

Expand All @@ -23,9 +23,9 @@ export component RayThin {
height: 0px;

i := Image {
property <length> sizeMultiplyer: 0.25px;
width: self.source.width * sizeMultiplyer * 0.6;
height: self.source.height * sizeMultiplyer;
property <length> sizeMultiplier: 0.25px;
width: self.source.width * sizeMultiplier * 0.6;
height: self.source.height * sizeMultiplier;
source: @image-url("images/line.png");
}

Expand Down

0 comments on commit 799b893

Please sign in to comment.