Skip to content

Commit

Permalink
update dks ui
Browse files Browse the repository at this point in the history
  • Loading branch information
yulei committed Jun 2, 2024
1 parent 2f2c2db commit 30d9121
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/python/amk/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
}

KEYBOARD_FORMATS = [
{"name": "Taxi", "mode": "anim_128_128", "suffix": ".CRS", "filter": "Taxi Files (*.CRS)"},
{"name": "Navi", "mode": "anim_128_128", "suffix": ".CRS", "filter": "Navi Files (*.CRS)"},
{"name": "Corsa", "mode": "anim_128_128", "suffix": ".CRS", "filter": "Corsa Files (*.CRS)"},
{"name": "Meta Background", "mode": "abkg_160_80", "suffix": ".BKG", "filter": "Meta Backaground Files (*.BKG)"},
Expand Down
2 changes: 1 addition & 1 deletion src/main/python/amk/dks.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def __init__(self, layout_editor, appctx):
self.dks_lbl = QLabel()
self.dks_img = QImage(appctx.get_resource("dks.png"))
pixmap = QPixmap.fromImage(self.dks_img)
pixmap = pixmap.scaled(400, 400, aspectRatioMode=Qt.KeepAspectRatio)
pixmap = pixmap.scaled(500, 500, aspectRatioMode=Qt.KeepAspectRatio)
self.dks_lbl.setPixmap(pixmap)

g_layout = QGridLayout()
Expand Down
Binary file modified src/main/resources/base/dks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 30d9121

Please sign in to comment.