mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Fix analog resize
This commit is contained in:
parent
59f3d4b8f5
commit
5adaf87dbe
@ -301,7 +301,7 @@ public:
|
||||
dc.Draw()->DrawImage(stickImage, bounds_.centerX(), bounds_.centerY(), scale_ * spacing_, colorBg, ALIGN_CENTER);
|
||||
}
|
||||
|
||||
float GetSpacing() const override { return spacing_; }
|
||||
float GetSpacing() const override { return spacing_ * 3; }
|
||||
void SetSpacing(float s) override {
|
||||
// In mapping spacing is clamped between 0.5 and 3.0 and passed to this method
|
||||
spacing_ = s/3;
|
||||
|
Loading…
Reference in New Issue
Block a user