mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 12:38:11 +08:00
Add some additional image effect nodes (#869)
* Move the Subpath type to graphene-std * Add the transform subpath node * Delete selected nodes * Inserting node list on right click * Add several bitmap manipulator nodes * Convert add node to use f64 * Add posterize node * Rename names randomly * Fix naming * Exposure node * Fix typo * Adjust exposure node range * Comment out vector nodes * Adjust exposure range again * Posterise as ints * Rename input * Use >= in the to hsl function
This commit is contained in:
+16
-1
@@ -17,5 +17,20 @@ import App from "@/App.vue";
|
||||
await initWasm();
|
||||
|
||||
// Initialize the Vue application
|
||||
createApp(App).mount("#app");
|
||||
createApp(App)
|
||||
.directive("focus", {
|
||||
// When the bound element is inserted into the DOM
|
||||
mounted(el) {
|
||||
let focus = el;
|
||||
|
||||
// Find actual relevant child
|
||||
while (focus.children.length) focus = focus.children[0];
|
||||
|
||||
// Random timeout needed?
|
||||
setTimeout(() => {
|
||||
focus.focus(); // Focus the element
|
||||
}, 0);
|
||||
},
|
||||
})
|
||||
.mount("#app");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user