fix(sctk): set_reactive on positioner if version allows

This commit is contained in:
Ashley Wulber 2025-09-30 08:32:50 -04:00
parent 7993a572b0
commit 329c4c0a84
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -719,7 +719,7 @@ impl SctkState {
settings.positioner.offset.0,
settings.positioner.offset.1,
);
if settings.positioner.reactive {
if positioner.version() >= 3 && settings.positioner.reactive {
positioner.set_reactive();
}
positioner.set_size(size.0 as i32, size.1 as i32);