ui/draw: rename ImageOp.Img to Src

To match widget.Image.Src field name.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-18 15:58:11 +02:00
parent 934aa4fe8d
commit 84fb7279eb
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -699,7 +699,7 @@ loop:
case ops.TypeImage:
var op gdraw.ImageOp
op.Decode(encOp.Data, encOp.Refs)
state.img = op.Img
state.img = op.Src
state.imgRect = op.Rect
case ops.TypeDraw:
var op gdraw.DrawOp