mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 05:38:11 +08:00
Fix artboard labels not reappearing once the node graph is closed to return to the viewport (#3061)
Closes #3045
This commit is contained in:
@@ -156,6 +156,9 @@ impl MessageHandler<ToolMessage, ToolMessageContext<'_>> for ToolMessageHandler
|
||||
// Subscribe new tool
|
||||
tool_data.tools.get(&tool_type).unwrap().activate(responses);
|
||||
|
||||
// Re-add the artboard overlay provider when tools are reactivated
|
||||
responses.add(OverlaysMessage::AddProvider(ARTBOARD_OVERLAY_PROVIDER));
|
||||
|
||||
// Send the SelectionChanged message to the active tool, this will ensure the selection is updated
|
||||
responses.add(BroadcastEvent::SelectionChanged);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user