mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 13:30:48 +00:00
Code cleanup after migrating node graph interaction to the backend (#1790)
* Cleanup transforms and click targets * Improve click target caching * Fix click target bugs * Add auto panning * update_modified_click_targets * Code review --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
parent
6fd5b76430
commit
84ac2e274e
15 changed files with 332 additions and 495 deletions
|
@ -507,7 +507,7 @@
|
|||
size={24}
|
||||
icon={node.visible ? "EyeVisible" : "EyeHidden"}
|
||||
action={() => {
|
||||
/*Button is purely visual, clicking is handled in NodeGraphMessage::PointerDown*/
|
||||
/* Button is purely visual, clicking is handled in NodeGraphMessage::PointerDown */
|
||||
}}
|
||||
tooltip={node.visible ? "Visible" : "Hidden"}
|
||||
/>
|
||||
|
@ -658,7 +658,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Box select widget -->
|
||||
<!-- Box selection widget -->
|
||||
<!-- TODO: Make its initial corner stay put (in graph space) when panning around -->
|
||||
{#if $nodeGraph.box}
|
||||
<div
|
||||
class="box-selection"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue