clutter/stage-view: Allow scales down to 0.5

There is support for scaling logical monitors down to 0.5, so don't let
ClutterStageView stand in the way for that.

https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
Jonas Ådahl 2017-06-07 17:35:23 +08:00
parent 5f2bb43061
commit dfc4d0d523

View File

@ -362,7 +362,7 @@ clutter_stage_view_class_init (ClutterStageViewClass *klass)
g_param_spec_float ("scale", g_param_spec_float ("scale",
"View scale", "View scale",
"The view scale", "The view scale",
1.0, G_MAXFLOAT, 1.0, 0.5, G_MAXFLOAT, 1.0,
G_PARAM_READWRITE | G_PARAM_READWRITE |
G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT |
G_PARAM_STATIC_STRINGS); G_PARAM_STATIC_STRINGS);