Graphite/node-graph/gcore/src
mTvare a0f8f89e71
Make the transform cage show/hide resize grips as space allows (#2209)
* Changes rotation handles to be around overlay squares

Fixes https://discord.com/channels/731730685944922173/931942323644928040/1330785941786329209

* Fix zero width objects not being selected by slightly nudging the transform

* Follow the categorical limits to render overlay quads

As discussed here: https://discord.com/channels/731730685944922173/931942323644928040/1331166336923074600

* Replace area based calculations with edge based calculations

* Fix 3rd category vis

* Code review

* Add missing powi(2)

* Fixes to handle logic

* Remove single axis prioritisation

* Explicitly check for distance to find nearest handle

* Replace threshold check based on corner vis bounds

* Fix discrepancy at h=12px

* Allow grab when box is too small by disabling resizing within bounds

* Replace inside resize pixel limit

* Code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-01-30 01:10:40 +00:00
..
graphic_element Make the transform cage show/hide resize grips as space allows (#2209) 2025-01-30 01:10:40 +00:00
raster Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
text Add max width/height to text layers and draggable text boxes to the Text tool (#2118) 2024-12-31 20:50:47 -08:00
vector Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
application_io.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
consts.rs Node network subgraph editing (#1750) 2024-06-02 08:01:56 +00:00
generic.rs Refactor the node macro and simply most of the node implementations (#1942) 2024-09-20 03:50:30 -07:00
gpu.rs Implement the Brush without relying on a stamp texture 2023-04-29 01:31:14 +02:00
graphic_element.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
instances.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
lib.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
logic.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
memo.rs Fix clippy lints (#2119) 2024-11-29 22:58:49 +00:00
ops.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
raster.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
registry.rs Improve older document upgrading compatibility and make node type errors clearer (#2201) 2025-01-21 01:40:43 -08:00
structural.rs Fix clippy lints (#2119) 2024-11-29 22:58:49 +00:00
text.rs Refactor the node macro and simply most of the node implementations (#1942) 2024-09-20 03:50:30 -07:00
transform.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
types.rs Instance tables refactor part 1: wrap graphical data in the new Instances<T> struct (#2230) 2025-01-28 23:51:12 -08:00
uuid.rs Clean up old usages of `NodeId(generate_uuid())` by replacing it with `NodeId::new()` (#2009) 2024-10-25 19:43:46 -07:00
value.rs Deprecate LetNodes in favor of new scope API (#1814) 2024-07-10 14:18:21 +02:00