mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 06:06:49 -06:00
Integration: thread cursors have system cursors in the tool cursor table
tool-cursors moves the cursor-to-system-icon table into cursors.rs; next's text threading adds Cursor::ThreadLink and Cursor::Unthread. They keep the icons next gave them (alias, no-drop) under the loaded-text badge.
This commit is contained in:
@@ -278,6 +278,8 @@ pub fn system(c: Cursor) -> egui::CursorIcon {
|
||||
Cursor::ZoomOut => C::ZoomOut,
|
||||
Cursor::Eyedropper => C::Crosshair,
|
||||
Cursor::LoadedText | Cursor::LoadedGraphic => C::Copy,
|
||||
Cursor::ThreadLink => C::Alias,
|
||||
Cursor::Unthread => C::NoDrop,
|
||||
Cursor::NotAllowed => C::NotAllowed,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user