File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " tauri-utils " : patch
3
+ " tauri-runtime " : patch
4
+ " tauri " : patch
5
+ ---
6
+
7
+ Fixes minimum window height being used as maximum height.
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ pub trait WindowBuilder: WindowBuilderBase {
124
124
fn min_inner_size ( self , min_width : f64 , min_height : f64 ) -> Self ;
125
125
126
126
/// Window max inner size.
127
- fn max_inner_size ( self , min_width : f64 , min_height : f64 ) -> Self ;
127
+ fn max_inner_size ( self , max_width : f64 , max_height : f64 ) -> Self ;
128
128
129
129
/// Whether the window is resizable or not.
130
130
fn resizable ( self , resizable : bool ) -> Self ;
Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ mod build {
672
672
let min_width = opt_lit ( self . min_width . as_ref ( ) ) ;
673
673
let min_height = opt_lit ( self . min_height . as_ref ( ) ) ;
674
674
let max_width = opt_lit ( self . max_width . as_ref ( ) ) ;
675
- let max_height = opt_lit ( self . min_height . as_ref ( ) ) ;
675
+ let max_height = opt_lit ( self . max_height . as_ref ( ) ) ;
676
676
let resizable = self . resizable ;
677
677
let title = str_lit ( & self . title ) ;
678
678
let fullscreen = self . fullscreen ;
You can’t perform that action at this time.
0 commit comments