Remove some debug styles

This commit is contained in:
Mikayla 2023-12-11 13:23:07 -08:00
parent f03c0f6e63
commit cb8109ab98
No known key found for this signature in database
2 changed files with 3 additions and 12 deletions

View file

@ -491,7 +491,7 @@ impl Render for Dock {
let position = self.position;
let handler = div()
.id("resize-handle")
.bg(gpui::red())
.bg(cx.theme().colors().border)
.on_mouse_down(gpui::MouseButton::Left, move |_, cx| {
cx.update_global(|drag: &mut DockDragState, cx| drag.0 = Some(position))
})
@ -518,10 +518,10 @@ impl Render for Dock {
match self.position() {
DockPosition::Left => {
post_resize_handle = Some(handler.w_2().h_full().cursor_col_resize())
post_resize_handle = Some(handler.w_1().h_full().cursor_col_resize())
}
DockPosition::Bottom => {
pre_resize_handle = Some(handler.w_full().h_2().cursor_row_resize())
pre_resize_handle = Some(handler.w_full().h_1().cursor_row_resize())
}
DockPosition::Right => {
pre_resize_handle = Some(handler.w_full().h_1().cursor_col_resize())