By the way, it's safe to call removeClass even if ...
# tornadofx
e
By the way, it's safe to call removeClass even if the class isn't present, so you can simplify your logic.