diff options
| author | Manolo Gouy <Manolo> | 2018-03-24 18:14:05 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-03-24 18:14:05 +0000 |
| commit | d1fd22576765b132a7923d4eb3caebb8342ef9b6 (patch) | |
| tree | 16833e01835de6ca0919241b8cc138874f75cc4c /src/Fl_Screen_Driver.cxx | |
| parent | 5f8cec638327e2541a4e4c165668b5c5897acb35 (diff) | |
Remove GUI scale factor values above 300% which were here for development only.
300% is also the max scaling value Firefox allows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Screen_Driver.cxx')
| -rw-r--r-- | src/Fl_Screen_Driver.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx index 9891721a7..dea18a942 100644 --- a/src/Fl_Screen_Driver.cxx +++ b/src/Fl_Screen_Driver.cxx @@ -395,8 +395,7 @@ int Fl_Screen_Driver::scale_handler(int event) int screen = wid->top_window()->driver()->screen_num(); Fl_Screen_Driver *screen_dr = Fl::screen_driver(); static float initial_scale = screen_dr->scale(screen); - static float scaling_values[] = {0.5, 2.f/3, 0.8, 0.9, 1, 1.1, 1.2, 4.f/3, 1.5, 1.7, 2, 2.4, 3, - 4, 5.5, 6.5, 7.5, 9.75 }; + static float scaling_values[] = {0.5, 2.f/3, 0.8, 0.9, 1, 1.1, 1.2, 4.f/3, 1.5, 1.7, 2, 2.4, 3}; float f, old_f = screen_dr->scale(screen)/initial_scale; if (key == '0' || key == 0xE0) f = 1; else { |
