Skip to content

Commit fa79c6f

Browse files
authored
gg: allow changing gg.Rect fields (implement #25332) (#25341)
1 parent f2abf79 commit fa79c6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vlib/gg/image.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub enum ImageEffect {
2727

2828
// Rect represents a rectangular shape in `gg`.
2929
pub struct Rect {
30-
pub:
30+
pub mut:
3131
x f32
3232
y f32
3333
width f32

0 commit comments

Comments
 (0)