io/event: [API] rename InputOp to Op

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-11-28 15:01:02 -06:00
parent eae39d8556
commit dbc10056f9
12 changed files with 51 additions and 51 deletions
+1 -1
View File
@@ -662,7 +662,7 @@ func (e *Editor) layout(gtx layout.Context, textMaterial, selectMaterial op.Call
defer clip.Rect(image.Rectangle{Max: visibleDims.Size}).Push(gtx.Ops).Pop()
pointer.CursorText.Add(gtx.Ops)
event.InputOp(gtx.Ops, e)
event.Op(gtx.Ops, e)
key.InputHintOp{Tag: e, Hint: e.InputHint}.Add(gtx.Ops)
e.scroller.Add(gtx.Ops)