File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4144,30 +4144,30 @@ impl Workspace {
4144
4144
let left_dock = this. left_dock . read ( cx) ;
4145
4145
let left_visible = left_dock. is_open ( ) ;
4146
4146
let left_active_panel = left_dock
4147
- . visible_panel ( )
4147
+ . active_panel ( )
4148
4148
. map ( |panel| panel. persistent_name ( ) . to_string ( ) ) ;
4149
4149
let left_dock_zoom = left_dock
4150
- . visible_panel ( )
4150
+ . active_panel ( )
4151
4151
. map ( |panel| panel. is_zoomed ( cx) )
4152
4152
. unwrap_or ( false ) ;
4153
4153
4154
4154
let right_dock = this. right_dock . read ( cx) ;
4155
4155
let right_visible = right_dock. is_open ( ) ;
4156
4156
let right_active_panel = right_dock
4157
- . visible_panel ( )
4157
+ . active_panel ( )
4158
4158
. map ( |panel| panel. persistent_name ( ) . to_string ( ) ) ;
4159
4159
let right_dock_zoom = right_dock
4160
- . visible_panel ( )
4160
+ . active_panel ( )
4161
4161
. map ( |panel| panel. is_zoomed ( cx) )
4162
4162
. unwrap_or ( false ) ;
4163
4163
4164
4164
let bottom_dock = this. bottom_dock . read ( cx) ;
4165
4165
let bottom_visible = bottom_dock. is_open ( ) ;
4166
4166
let bottom_active_panel = bottom_dock
4167
- . visible_panel ( )
4167
+ . active_panel ( )
4168
4168
. map ( |panel| panel. persistent_name ( ) . to_string ( ) ) ;
4169
4169
let bottom_dock_zoom = bottom_dock
4170
- . visible_panel ( )
4170
+ . active_panel ( )
4171
4171
. map ( |panel| panel. is_zoomed ( cx) )
4172
4172
. unwrap_or ( false ) ;
4173
4173
You can’t perform that action at this time.
0 commit comments