mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-16 21:22:33 +00:00
Removed debugging puts from EditLine
This commit is contained in:
@@ -74,8 +74,6 @@ module CyberarmEngine
|
|||||||
@last_text ||= "/\\"
|
@last_text ||= "/\\"
|
||||||
@last_pos ||= -1
|
@last_pos ||= -1
|
||||||
|
|
||||||
puts "caret pos: #{caret_pos}, width: #{@width}, offset: #{@offset_x}" if (@last_text != @text.text) || (@last_pos != caret_pos)
|
|
||||||
|
|
||||||
@last_text = @text.text
|
@last_text = @text.text
|
||||||
@last_pos = caret_pos
|
@last_pos = caret_pos
|
||||||
|
|
||||||
@@ -92,7 +90,6 @@ module CyberarmEngine
|
|||||||
|
|
||||||
elsif caret_pos > @width
|
elsif caret_pos > @width
|
||||||
@offset_x = caret_pos - @width
|
@offset_x = caret_pos - @width
|
||||||
puts "triggered"
|
|
||||||
|
|
||||||
else
|
else
|
||||||
# Reset to Zero
|
# Reset to Zero
|
||||||
|
|||||||
Reference in New Issue
Block a user