| 568 | } |
| 569 | |
| 570 | void QuickSpawnFollower::UpdateLocation() |
| 571 | { |
| 572 | float x, y; |
| 573 | TheQuickSpawnMenu->GetPosition(x, y); |
| 574 | float scaleFactor = UserPrefs.ui_scale.Get() / gDrawScale; |
| 575 | x *= scaleFactor; |
| 576 | y *= scaleFactor; |
| 577 | x -= TheSynth->GetDrawOffset().x; |
| 578 | y -= TheSynth->GetDrawOffset().y; |
| 579 | SetPosition(x, y); |
| 580 | } |
no test coverage detected