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
This commit is contained in:
Manolo Gouy 2018-03-24 18:14:05 +00:00
parent 5f8cec6383
commit d1fd225767

View File

@ -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 {