summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
Diffstat (limited to 'help.go')
-rw-r--r--help.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/help.go b/help.go
index de9b247..5f5274b 100644
--- a/help.go
+++ b/help.go
@@ -91,12 +91,12 @@ func showHelp() error {
} else {
if me.notify.clock.tk == nil {
makeClock(me.notify.clock.wId)
- me.notify.clock.tk.MoveToOffset(maxX-10, 1)
+ me.notify.clock.tk.MoveToOffset(maxX-me.notify.clock.offsetW, 1)
me.notify.clock.tk.Hide()
me.notify.clock.tk.Show()
}
if me.notify.clock.tk != nil {
- me.notify.clock.tk.MoveToOffset(maxX-10, 1)
+ me.notify.clock.tk.MoveToOffset(maxX-me.notify.clock.offsetW, 1)
me.notify.clock.tk.Hide()
me.notify.clock.tk.Show()
}