mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Improved the performance of love.window.getPixelScale / toPixels / fromPixels by caching some values. Made some coordinate space-sensitive code use the proper conversions to get to the correct coordinate space.
--HG-- branch : minor
This commit is contained in:
@@ -573,7 +573,7 @@ public:
|
||||
* on the screen the text will appear. This is used as a hint so on-screen
|
||||
* keyboards don't cover the text area.
|
||||
**/
|
||||
virtual void setTextInput(bool enable, int x, int y, int w, int h) = 0;
|
||||
virtual void setTextInput(bool enable, double x, double y, double w, double h) = 0;
|
||||
|
||||
/**
|
||||
* Gets whether text input events are enabled.
|
||||
|
||||
Reference in New Issue
Block a user