removed the isDotPressed in Condition