fix(sctk): set_reactive on positioner if version allows
This commit is contained in:
parent
7993a572b0
commit
329c4c0a84
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ impl SctkState {
|
||||||
settings.positioner.offset.0,
|
settings.positioner.offset.0,
|
||||||
settings.positioner.offset.1,
|
settings.positioner.offset.1,
|
||||||
);
|
);
|
||||||
if settings.positioner.reactive {
|
if positioner.version() >= 3 && settings.positioner.reactive {
|
||||||
positioner.set_reactive();
|
positioner.set_reactive();
|
||||||
}
|
}
|
||||||
positioner.set_size(size.0 as i32, size.1 as i32);
|
positioner.set_size(size.0 as i32, size.1 as i32);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue