2
0
John Dodis 1 жил өмнө
parent
commit
e4bfef44c7
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      ui2d/ui2d.lua

+ 1 - 1
ui2d/ui2d.lua

@@ -939,7 +939,7 @@ function UI2D.TextBox( name, num_visible_chars, text )
 	UpdateLayout( bbox )
 
 	local scroll = 0
-	if active_textbox then
+	if active_textbox and active_textbox.id == cur_window.id .. name then
 		scroll = active_textbox.scroll
 	end