Skip to content

Commit

Permalink
fix vsplit.onchange error
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan committed May 6, 2024
1 parent a97a4b4 commit 0751667
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htagui/splitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ class VSplit(Tag.div):
"""),
]
def init(self,*objs,sizes=None,minSize=None,onchange=lambda x:x,**a):
self.sizes=sizes
self.sizes=sizes
self.onchange=onchange
self["class"]="vsplit"
self<=objs
opts={"direction":"vertical","onDragEnd":"xxx"}
Expand Down
1 change: 1 addition & 0 deletions manual_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def force_select(nb):


class TestDialogs(Tag.div):
statics="window.error = alert"
imports=ui.ALL
def init(self,root):
self.ui=root.ui
Expand Down

0 comments on commit 0751667

Please sign in to comment.