mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Kopt: keep 4 items per panel
move newly enabled auto straighten from settings to crop
This commit is contained in:
@@ -110,6 +110,19 @@ In 'semi-auto' and 'manual' modes, you may need to define areas once on an odd p
|
||||
name_text_hold_callback = optionsutil.showValues,
|
||||
help_text = _([[Set margins to be applied after page-crop and zoom modes are applied.]]),
|
||||
},
|
||||
{
|
||||
name = "auto_straighten",
|
||||
name_text = _("Auto Straighten"),
|
||||
toggle = {_("0°"), _("5°"), _("10°"), _("15°"), _("25°")},
|
||||
values = {0, 5, 10, 15, 25},
|
||||
event = "DummyEvent",
|
||||
args = {0, 5, 10, 15, 25},
|
||||
more_options = true,
|
||||
default_value = DKOPTREADER_CONFIG_AUTO_STRAIGHTEN,
|
||||
name_text_hold_callback = optionsutil.showValues,
|
||||
help_text = _([[Attempt to automatically straighten tilted source pages.
|
||||
Will rotate up to specified value.]]),
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -566,19 +579,6 @@ This can also be used to remove some gray background or to convert a grayscale o
|
||||
end,
|
||||
name_text_hold_callback = optionsutil.showValues,
|
||||
},
|
||||
{
|
||||
name = "auto_straighten",
|
||||
name_text = _("Auto Straighten"),
|
||||
toggle = {_("0°"), _("5°"), _("10°"), _("15°"), _("25°")},
|
||||
values = {0, 5, 10, 15, 25},
|
||||
event = "DummyEvent",
|
||||
args = {0, 5, 10, 15, 25},
|
||||
more_options = true,
|
||||
default_value = DKOPTREADER_CONFIG_AUTO_STRAIGHTEN,
|
||||
name_text_hold_callback = optionsutil.showValues,
|
||||
help_text = _([[Attempt to automatically straighten tilted source pages.
|
||||
Will rotate up to specified value.]]),
|
||||
},
|
||||
{
|
||||
name = "detect_indent",
|
||||
name_text = _("Indentation"),
|
||||
|
||||
Reference in New Issue
Block a user