mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 08:48:11 +08:00
Add support for double-clicking to rename layers in the graph view (#4071)
* Add support for double-clicking to rename layers in the graph view * Fix text double-click area ending 10px too early from the right * Fix clicking out and intermittent cursor clicking in text field
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// GRAPH
|
||||
pub const GRID_SIZE: u32 = 24;
|
||||
pub const HALF_GRID_SIZE: u32 = GRID_SIZE / 2;
|
||||
pub const EXPORTS_TO_TOP_EDGE_PIXEL_GAP: u32 = 72;
|
||||
pub const EXPORTS_TO_RIGHT_EDGE_PIXEL_GAP: u32 = 120;
|
||||
pub const IMPORTS_TO_TOP_EDGE_PIXEL_GAP: u32 = 72;
|
||||
|
||||
Reference in New Issue
Block a user