Skip to content

Commit bd50318

Browse files
committed
Swap Okay/Cancel button order.
1 parent 57216b4 commit bd50318

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

userspace/py/lib/dialog.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def draw(self):
9898
self.tr.move(self.decorator.left_width() + 90,self.decorator.top_height()+self.text_offset)
9999
self.tr.draw(self)
100100

101-
self.button_cancel.draw(self,ctx,WIDTH-130,HEIGHT-60,100,30)
102-
self.button_ok.draw(self,ctx,WIDTH-240,HEIGHT-60,100,30)
101+
self.button_ok.draw(self,ctx,WIDTH-130,HEIGHT-60,100,30)
102+
self.button_cancel.draw(self,ctx,WIDTH-240,HEIGHT-60,100,30)
103103

104104
self.decorator.render(self)
105105
self.flip()

0 commit comments

Comments
 (0)