mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Refactoring and Bugfixes (#127)
* Replacing nil + compact! with delete, delete_at and delete_if wherever possible * Fixed Terrain Tag editor not setting the correct terrain * Fixed Text Cursor in Animation Editor not going right
This commit is contained in:
@@ -271,7 +271,7 @@ class TextField < UIControl
|
||||
end
|
||||
return
|
||||
end
|
||||
if Input.triggerex?(:LEFT) || Input.repeatex?(:RIGHT)
|
||||
if Input.triggerex?(:RIGHT) || Input.repeatex?(:RIGHT)
|
||||
if @cursor < self.text.scan(/./m).length
|
||||
@cursor+=1
|
||||
@frame=0
|
||||
|
||||
@@ -263,7 +263,6 @@ def pbDefinePath(canvas)
|
||||
points[j]=nil
|
||||
end
|
||||
points.compact!
|
||||
# File.open("pointpath.txt","wb") { |f| f.write(path.inspect) }
|
||||
end
|
||||
elsif sliderwin2.changed?(defcurvebutton)
|
||||
for point in points
|
||||
|
||||
Reference in New Issue
Block a user