From 81bc115ceee6ce8e6c1b00d89a2d43c06448bc82 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 21 Jan 2017 14:36:15 +0100 Subject: [PATCH] ImageViewer: "best fit" to "scale" --- frontend/ui/widget/imageviewer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/ui/widget/imageviewer.lua b/frontend/ui/widget/imageviewer.lua index c5832337b..7f2a75ecf 100644 --- a/frontend/ui/widget/imageviewer.lua +++ b/frontend/ui/widget/imageviewer.lua @@ -38,7 +38,7 @@ local ImageViewer = InputContainer:new{ width = nil, height = nil, - stretched = true, -- start with image stretched (Best fit) + stretched = true, -- start with image scaled for best fit rotated = false, -- we use this global setting for rotation angle to have the same angle as reader rotation_angle = DLANDSCAPE_CLOCKWISE_ROTATION and 90 or 270, @@ -116,7 +116,7 @@ function ImageViewer:update() local buttons = { { { - text = self.stretched and _("Original size") or _("Best fit"), + text = self.stretched and _("Original size") or _("Scale"), callback = function() self.stretched = not self.stretched and true or false self:update()