mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +00:00
op/clip: unexport Rect.Op
It wasn't used anywhere outside Rect.Add. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -364,7 +364,7 @@ func (c *clipCircle) Layout(gtx layout.Context, w layout.Widget) layout.Dimensio
|
||||
clip.Rect{
|
||||
Rect: f32.Rectangle{Max: f32.Point{X: szf, Y: szf}},
|
||||
NE: rr, NW: rr, SE: rr, SW: rr,
|
||||
}.Op(gtx.Ops).Add(gtx.Ops)
|
||||
}.Add(gtx.Ops)
|
||||
call.Add(gtx.Ops)
|
||||
return dims
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user