refactor: remove unused height properties and simplify widget height handling in various components, fixes #284

This commit is contained in:
Will Miao
2025-08-07 16:49:39 +08:00
parent 854e467c12
commit 6678ec8a60
6 changed files with 5 additions and 51 deletions

View File

@@ -78,6 +78,7 @@ app.registerExtension({
// Update input widget callback
const inputWidget = this.widgets[1];
inputWidget.options.getMaxHeight = () => 100;
this.inputWidget = inputWidget;
inputWidget.callback = (value) => {
if (isUpdating) return;