Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def render_base(self):
if Element.render_base(self):
self.label.x, self.label.y = self.x, self.y
def render_base(self):
if Element.render_base(self):
self.label.x, self.label.y = self.x, self.y
def render_base(self):
if Element.render_base(self):
self.style()
if self.is_number:
if not self.graphics['scroll']:
self.graphics['scroll'] = Quad(self.batch, frontdrop=True)
self.graphics['scroll'].redraw(self.x - self.cw + 10,
self.y, 10, self.ch,
(172, 150, 83))
elif self.graphics['scroll']:
self.graphics['scroll'].delete()
self.graphics['scroll'] = None
if self.hover:
if not self.graphics['corner']: