Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/pvcraven/arcade into…
Browse files Browse the repository at this point in the history
… development
  • Loading branch information
einarf committed Jul 25, 2020
2 parents 4b186fa + 0fca203 commit cfdb303
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions arcade/gui/elements/flat_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
class UIAbstractFlatButton(UIClickable):
def __init__(self,
text: str,
center_x: int,
center_y: int,
center_x: int = 0,
center_y: int = 0,
width: int = None,
height: int = None,

Expand Down Expand Up @@ -127,10 +127,10 @@ def render(self):
class UIFlatButton(UIAbstractFlatButton):
def __init__(self,
text: str,
center_x: int,
center_y: int,
width: int = None,
height: int = None,
center_x: int = 0,
center_y: int = 0,
width: int = 0,
height: int = 0,
align="center",
id: Optional[str] = None,
style: UIStyle = None,
Expand All @@ -154,10 +154,10 @@ def __init__(self,
class UIGhostFlatButton(UIAbstractFlatButton):
def __init__(self,
text: str,
center_x: int,
center_y: int,
width: int = None,
height: int = None,
center_x: int = 0,
center_y: int = 0,
width: int = 0,
height: int = 0,
align="center",
id: Optional[str] = None,
style: UIStyle = None,
Expand Down

0 comments on commit cfdb303

Please sign in to comment.