Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: correct canvas resize cursor directions
Richie McIlroyff54c954e36c
diff --git a/apps/desktop-gpui/src/editor_canvas.rs b/apps/desktop-gpui/src/editor_canvas.rsindex 35274a209..88d6876cc 100644--- a/apps/desktop-gpui/src/editor_canvas.rs+++ b/apps/desktop-gpui/src/editor_canvas.rs@@ -1353,10 +1353,10 @@ impl EditorWindow {top + height >= canvas.1 - 6.,);for (dir_x, dir_y, cursor) in [- (-1_i8, -1_i8, CursorStyle::ResizeUpRightDownLeft),- (1, -1, CursorStyle::ResizeUpLeftDownRight),- (-1, 1, CursorStyle::ResizeUpLeftDownRight),- (1, 1, CursorStyle::ResizeUpRightDownLeft),+ (-1_i8, -1_i8, CursorStyle::ResizeUpLeftDownRight),+ (1, -1, CursorStyle::ResizeUpRightDownLeft),+ (-1, 1, CursorStyle::ResizeUpRightDownLeft),+ (1, 1, CursorStyle::ResizeUpLeftDownRight),] {let hx = if dir_x < 0 {if flush.0 { 0. } else { -6. }