summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-22 20:50:14 -0500
committerJeff Carr <[email protected]>2025-04-22 20:50:14 -0500
commite0c55e73d24f12f574706364ffdbf21f14bd1798 (patch)
tree1bb917dc614582abed9ac5ea28aea4d4daf66673 /plugin.go
parent4efbfa7a1dbbd3425f1ccf1a4ebeaf95305a3e57 (diff)
more standard SetView()v0.22.44
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.go b/plugin.go
index 67def55..5356a64 100644
--- a/plugin.go
+++ b/plugin.go
@@ -200,7 +200,7 @@ func showDisable() {
me.textbox.tk.v.Editable = true
me.textbox.tk.v.Wrap = true
- me.baseGui.SetView(me.textbox.tk.cuiName, r.w0, r.h0, r.w1, r.h1, 0)
+ me.textbox.tk.SetViewRect(r)
me.baseGui.SetCurrentView(me.textbox.tk.v.Name())
// bind the enter key to a function so we can close the textbox