mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	fixed double border for debugger tab panel
This commit is contained in:
		
							parent
							
								
									4ccf3bb2ed
								
							
						
					
					
						commit
						b37e869c89
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -4033,7 +4033,6 @@ void EditorNode::_bottom_panel_switch(bool p_enable, int p_idx) { | |||
| 			bottom_panel_items[i].button->set_pressed(i == p_idx); | ||||
| 			bottom_panel_items[i].control->set_visible(i == p_idx); | ||||
| 		} | ||||
| 		// ScriptEditor::get_singleton()->get_debugger() == bottom_panel_items[i].control
 | ||||
| 		if (ScriptEditor::get_singleton()->get_debugger() == bottom_panel_items[p_idx].control) { // this is the debug panel wich uses tabs, so the top section should be smaller
 | ||||
| 			Ref<StyleBoxFlat> style_panel_invisible_top = gui_base->get_stylebox("panel", "TabContainer")->duplicate(); | ||||
| 			int stylebox_offset = gui_base->get_font("font", "Tabs")->get_height() + gui_base->get_stylebox("tab_fg", "Tabs")->get_minimum_size().height + gui_base->get_stylebox("panel", "TabContainer")->get_default_margin(MARGIN_TOP); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 toger5
						toger5