mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 10:40:01 +01:00
Default touch ui scale to 1.0.
This commit is contained in:
1 parent
c21e1ee2cc
commit
4497f1c5ce
1 file changed
+2
-2
+2
-2
@@ -15,7 +15,7 @@ public:
|
||||
void update(InputState &input_state);
|
||||
void draw(DrawBuffer &db, uint32_t color, uint32_t colorOverlay);
|
||||
|
||||
void setPos(float x, float y, float scale) {
|
||||
void setPos(float x, float y, float scale = 1.0f) {
|
||||
scale_ = scale;
|
||||
x_ = x - w_ * scale / 2;
|
||||
y_ = y - h_ * scale / 2;
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
void update(InputState &input_state);
|
||||
void draw(DrawBuffer &db, uint32_t color);
|
||||
|
||||
void setPos(float x, float y, float scale) {
|
||||
void setPos(float x, float y, float scale = 1.0f) {
|
||||
stick_x_ = x;
|
||||
stick_y_ = y;
|
||||
scale_ = scale;
|
||||
|
||||
Reference in new issue
Block a user