mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 04:28:11 +08:00
Fix an assortment of small bugs (#3968)
* Fix an assertion failure bug when scaling a line in the transform cage * Fix missing defaults on node gradient inputs * Fix Blend Shapes path input wire not updating to show in the UI after Layer > Blend * Fix assertion failure due to browser non-monotonic timestamp * Fix SVG renderer drawing 1px strokes as half-width when using stroke alignment * Fix incorrect appearance of the ColorInput widget when set to "none" and "disabled" * Fix lerp function in Fill enum to handle None cases correctly * Fix stroke alignment bug
This commit is contained in:
@@ -4005,6 +4005,14 @@ impl NodeNetworkInterface {
|
||||
}
|
||||
}
|
||||
(_, NodeInput::Node { node_id: upstream_node_id, .. }) => {
|
||||
// If the old input wasn't exposed but the new one is (`Node` inputs are always exposed),
|
||||
// the node's port count changed, so its click targets need to be recomputed
|
||||
if !old_input.is_exposed()
|
||||
&& let InputConnector::Node { node_id, .. } = input_connector
|
||||
{
|
||||
self.unload_node_click_targets(node_id, network_path);
|
||||
}
|
||||
|
||||
// Load structure if the change is to the document network and to the first or second
|
||||
if network_path.is_empty() {
|
||||
if matches!(input_connector, InputConnector::Export(0)) {
|
||||
|
||||
Reference in New Issue
Block a user