mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
gtk4: Declare correct default value for force-aspect-ratio
property
It's defaulting to false as generally keeping the aspect ratio is the job of the widget layout and not the paintable. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1654>
This commit is contained in:
parent
ac0e24b2bd
commit
195c089f18
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ impl ObjectImpl for Paintable {
|
||||||
glib::ParamSpecBoolean::builder("force-aspect-ratio")
|
glib::ParamSpecBoolean::builder("force-aspect-ratio")
|
||||||
.nick("Force Aspect Ratio")
|
.nick("Force Aspect Ratio")
|
||||||
.blurb("When enabled, scaling will respect original aspect ratio")
|
.blurb("When enabled, scaling will respect original aspect ratio")
|
||||||
.default_value(true)
|
.default_value(false)
|
||||||
.build(),
|
.build(),
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue