modify zoom behavior.
changed zoom up/down behavior only if view size is set. it's been quitely useless zoom up/down function without any base size.
This commit is contained in:
parent
6d72ca9e4b
commit
099b87186f
4
README
4
README
|
@ -45,8 +45,8 @@ Ctrl+O - On/Off Auto Completion
|
|||
Ctrl+W - Show/Hide Dummy Swallow
|
||||
Ctrl+H - On/Off Part Highlighting
|
||||
Ctrl+T - Insert Defaut Template Code
|
||||
Ctrl+Mouse Wheel Up - View Scale Up / Font Size Up
|
||||
Ctrl+Mouse Wheel Down - View Scale Down / Font Size Down
|
||||
Ctrl+Mouse Wheel Up - View Zoom In (Only if view size is set) / Font Size Up
|
||||
Ctrl+Mouse Wheel Down - View Zoom Out (Only if view size is set) / Font Size Down
|
||||
|
||||
Alt+Left - On/Off Full Edit View
|
||||
Alt+Right - On/Off Full Live View
|
||||
|
|
|
@ -27,8 +27,8 @@ Ctrl+O - On/Off Auto Completion
|
|||
Ctrl+W - Show/Hide Dummy Swallow
|
||||
Ctrl+H - On/Off Part Highlighting
|
||||
Ctrl+T - Insert Defaut Template Code
|
||||
Ctrl+Mouse Wheel Up - View Scale Up / Font Size Up
|
||||
Ctrl+Mouse Wheel Down - View Scale Down / Font Size Down
|
||||
Ctrl+Mouse Wheel Up - View Zoom In (Only if view size is set) / Font Size Up
|
||||
Ctrl+Mouse Wheel Down - View Zoom Out (Only if view size is set) / Font Size Down
|
||||
|
||||
Alt+Left - On/Off Full Edit View
|
||||
Alt+Right - On/Off Full Live View
|
||||
|
|
|
@ -751,7 +751,8 @@ double
|
|||
config_view_scale_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->view_scale;
|
||||
if (cd->view_size_configurable) return cd->view_scale;
|
||||
else return 1;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue