mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-05 16:07:27 +02:00
Ensure keyrepeat is disabled at component creation
This commit is contained in:
@@ -18,7 +18,8 @@ Textbox::Textbox(Point position, Point size, std::string textboxText, std::strin
|
|||||||
mouseDown(false),
|
mouseDown(false),
|
||||||
limit(std::string::npos),
|
limit(std::string::npos),
|
||||||
inputType(All),
|
inputType(All),
|
||||||
keyDown(0)
|
keyDown(0),
|
||||||
|
characterDown(0)
|
||||||
{
|
{
|
||||||
placeHolder = textboxPlaceholder;
|
placeHolder = textboxPlaceholder;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user