File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 {
124124 fn min_inner_size ( self , min_width : f64 , min_height : f64 ) -> Self ;
125125
126126 /// 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 ;
128128
129129 /// Whether the window is resizable or not.
130130 fn resizable ( self , resizable : bool ) -> Self ;
Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ mod build {
672672 let min_width = opt_lit ( self . min_width . as_ref ( ) ) ;
673673 let min_height = opt_lit ( self . min_height . as_ref ( ) ) ;
674674 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 ( ) ) ;
676676 let resizable = self . resizable ;
677677 let title = str_lit ( & self . title ) ;
678678 let fullscreen = self . fullscreen ;
You can’t perform that action at this time.
0 commit comments