mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 15:48:11 +08:00
Clean up code with better naming
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
let propertiesPanelLayout: Layout = [];
|
||||
|
||||
onMount(() => {
|
||||
editor.subscriptions.subscribeJsMessage(UpdatePropertiesPanelLayout, (updatePropertiesPanelLayout) => {
|
||||
patchLayout(propertiesPanelLayout, updatePropertiesPanelLayout);
|
||||
editor.subscriptions.subscribeJsMessage(UpdatePropertiesPanelLayout, (data) => {
|
||||
patchLayout(propertiesPanelLayout, data);
|
||||
propertiesPanelLayout = propertiesPanelLayout;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user