diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-05 16:31:49 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-05 16:31:49 (GMT) |
| commit | d61690bc091af0e253abe18832cc06f6c998724a (patch) | |
| tree | bc152e2abb2790d03d9c24b9576954d307fbcafc /src/interface/DropDown.cpp | |
| parent | d379390d066add46513da73a690ef20414b6627b (diff) | |
| download | powder-d61690bc091af0e253abe18832cc06f6c998724a.zip powder-d61690bc091af0e253abe18832cc06f6c998724a.tar.gz | |
Prevent setting double scale on smaller screens. Fixes #166
Diffstat (limited to 'src/interface/DropDown.cpp')
| -rw-r--r-- | src/interface/DropDown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/DropDown.cpp b/src/interface/DropDown.cpp index 7e8ee7f..0b05aac 100644 --- a/src/interface/DropDown.cpp +++ b/src/interface/DropDown.cpp @@ -88,7 +88,7 @@ DropDown::DropDown(Point position, Point size): void DropDown::OnMouseClick(int x, int y, unsigned int button) { DropDownWindow * newWindow = new DropDownWindow(this); - ui::Engine().Ref().ShowWindow(newWindow); + ui::Engine::Ref().ShowWindow(newWindow); } void DropDown::Draw(const Point& screenPos) |
