summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 59003db..45dff2a 100644
--- a/init.lua
+++ b/init.lua
@@ -534,8 +534,10 @@ doc.widgets.gallery = function(imagedata, playername, x, y, aspect_ratio, width,
iw = totalimagewidth / rows
ih = iw * aspect_ratio
formstring = formstring .. "button["..x..","..y..";"..bw..","..ih..";doc_button_gallery_prev;"..F("<").."]"
+ formstring = formstring .. "tooltip[doc_button_gallery_prev;"..F("Show previous image").."]"
local rightx = buttonoffset + (x + rows * iw)
formstring = formstring .. "button["..rightx..","..y..";"..bw..","..ih..";doc_button_gallery_next;"..F(">").."]"
+ formstring = formstring .. "tooltip[doc_button_gallery_next;"..F("Show next image").."]"
buttonoffset = bw
else
totalimagewidth = width