mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Prevent tabbing in numberbox textinputs
This commit is contained in:
parent
8db404e1ae
commit
eb92fdbb00
@ -1,3 +1,8 @@
|
|||||||
|
================================================
|
||||||
|
Version 0.9.7.2 - Alpha (Release Date TBD)
|
||||||
|
================================================
|
||||||
|
[FIXED] ability to use the tab button in numberbox textinputs
|
||||||
|
|
||||||
================================================
|
================================================
|
||||||
Version 0.9.7.1 - Alpha (January 15 - 2014)
|
Version 0.9.7.1 - Alpha (January 15 - 2014)
|
||||||
================================================
|
================================================
|
||||||
|
@ -32,6 +32,7 @@ function newobject:initialize()
|
|||||||
input.parent = self
|
input.parent = self
|
||||||
input:SetSize(50, 20)
|
input:SetSize(50, 20)
|
||||||
input:SetUsable({"1", "2", "3", "4", "5", "6", "7", "8", "9", "0", ".", "-"})
|
input:SetUsable({"1", "2", "3", "4", "5", "6", "7", "8", "9", "0", ".", "-"})
|
||||||
|
input:SetTabReplacement("")
|
||||||
input:SetText(self.value)
|
input:SetText(self.value)
|
||||||
input.OnTextChanged = function(object)
|
input.OnTextChanged = function(object)
|
||||||
local value = self.value
|
local value = self.value
|
||||||
|
Loading…
Reference in New Issue
Block a user