Fixed TextBox

This commit is contained in:
Sasha Koshka 2023-02-26 22:48:14 -05:00
parent cda2d1f0ae
commit 26787d8670

View File

@ -360,8 +360,8 @@ func (element *TextBox) draw () {
pattern.Draw(element.core, bounds)
offset := bounds.Min.Add (image.Point {
X: -element.scroll,
Y: 0,
X: padding[artist.SideLeft] - element.scroll,
Y: padding[artist.SideTop],
})
if element.Focused() && !element.dot.Empty() {