self.inner_color = self.default_inner_color
self.actions = []
self.description = []
- self.custom_color = None
- self.custom_unready_color = None
+ self.custom_color = self.mapped_inner_color
+ self.custom_unready_color = self.mapped_unready_inner_color
def square(self, all_actions_ready):
if self.has_actions():
if all_actions_ready:
- self.inner_color = self.custom_color or self.mapped_inner_color
+ self.inner_color = self.custom_color
else:
- self.inner_color = self.custom_unready_color or self.mapped_unready_inner_color
+ self.inner_color = self.custom_unready_color
return RoundedRect((0, 0, self.width, self.height),
self.outer_color, self.inner_color, self.linewidth)