Skip to content

Commit

Permalink
Upgrade to v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yolain committed Aug 15, 2024
1 parent 0d3fb7e commit 9375c56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ New Front-end of [ComfyUI-Easy-Use](https://github.com/yolain/ComfyUI-Easy-Use)
- Added some shortcut keys (e.g: Align nodes in selection, Shift key and click the center point of the connection to convert it to get set nodes).
- Chain get node and set node with parent nodes. Credit by [ComfyUI-mape-Helpers](https://github.com/mape/ComfyUI-mape-Helpers)
- Added statistics time in node.
- Re-designed the node of the `easy stylesSelector`
- Re-designed the node of the `easy stylesSelector`.
- Add settings to manage the shortcut keys and some other settings. (If the official Keybinding settings management is added it may be adjusted accordingly.)

- Re-designed the Group Map and rename it to `nodes map`.

### What to be done

- Re-design Group Map
- More features...

## Development
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/hotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {toast} from "@/components/toast.js";
import {$t} from "@/composable/i18n.js";
import {getSelectedNodes, isGetNode, isSetNode, jumpToNode, addNodesToGroup} from "@/composable/node.js";
import {useNodesStore} from "@/stores/nodes.js";
let nodesStore = null
/* Variables */
let nodesStore = null

/* Register Extension */
app.registerExtension({
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import milk_white from "@/config/theme/milkWhite";
import settings from "@/config/settings";
import sleep from "@/composable/sleep";
import {useNodesStore} from "@/stores/nodes.js";
let nodesStore = null

/* Define Variable */
let nodesStore = null
const custom_themes = ["custom_obsidian", "custom_obsidian_dark", "custom_milk_white"]
const NODE_CUSTOM_COLORS = {
"easy positive": "green",
Expand Down
1 change: 0 additions & 1 deletion src/stores/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export const useNodesStore = defineStore('groups', {
// onGroupAdd
const onGroupAdd = LGraphCanvas.onGroupAdd
LGraphCanvas.onGroupAdd = function () {
console.log(1)
_this.update()
return onGroupAdd?.apply(this, arguments)
}
Expand Down

0 comments on commit 9375c56

Please sign in to comment.