Skip to content

Commit

Permalink
examples: fix coloring of multi window to use new id range start value
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon committed Sep 12, 2023
1 parent a71949b commit 7bd95ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/multi_window/multi_window.v
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn (mut a App) frame(dt f64) {
mouse := a.mouse

mut color := shy.rgb(255, 0, 0)
if win.id == 0 {
if win.id == 1 {
color = shy.colors.shy.blue
}
a.quick.rect(
Expand Down

0 comments on commit 7bd95ea

Please sign in to comment.