mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
ui/draw: rename ColorOp.Col to Color
This commit is contained in:
+2
-2
@@ -206,10 +206,10 @@ func (e *Editor) Layout(ops *ui.Ops, cs layout.Constraints) layout.Dimens {
|
||||
ui.PushOp{}.Add(ops)
|
||||
// Apply material. Set a default color in case the material is empty.
|
||||
if e.rr.len() > 0 {
|
||||
draw.ColorOp{Col: color.RGBA{A: 0xff}}.Add(ops)
|
||||
draw.ColorOp{Color: color.RGBA{A: 0xff}}.Add(ops)
|
||||
e.Material.Add(ops)
|
||||
} else {
|
||||
draw.ColorOp{Col: color.RGBA{A: 0xaa}}.Add(ops)
|
||||
draw.ColorOp{Color: color.RGBA{A: 0xaa}}.Add(ops)
|
||||
e.HintMaterial.Add(ops)
|
||||
}
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user