Skip to content

Commit

Permalink
i messed the argument order up. But yooo it works!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnemotechnician committed Jan 2, 2022
1 parent eedbd1a commit 413815c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ object WindowManager {
addLabel({ window.name }, ellipsis = "...").growX()

//collapse/show
textToggle("-", Styles.togglet) {
textToggle("[accent]-", Styles.togglet) {
childAs<Label>(0).setText(if (it) "[accent]=" else "[accent]-")

collapser.setCollapsed(true, it)
collapser.setCollapsed(it, true)
window.isCollapsed = it
window.onToggle(it)
}
}.size(50f)

//making it draggable
addListener(object : InputListener() {
Expand Down

0 comments on commit 413815c

Please sign in to comment.