mirror of
https://github.com/danbulant/cushy
synced 2026-06-21 23:52:52 +00:00
Using the actual size when auto-resizing
This commit is contained in:
parent
0c3206a2ff
commit
e44872351d
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@ where
|
|||
)
|
||||
});
|
||||
let render_size = actual_size.min(window_size);
|
||||
if render_size != window_size && !resizable {
|
||||
if actual_size != window_size && !resizable {
|
||||
let mut new_size = actual_size;
|
||||
if let Some(min_size) = self.min_inner_size {
|
||||
new_size = new_size.max(min_size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue