Try to make smalle fixes
This commit is contained in:
		
							parent
							
								
									fea4df8284
								
							
						
					
					
						commit
						b43867b29d
					
				| @ -64,6 +64,7 @@ anchor_bottom = 1.0 | |||||||
| offset_top = -134.0 | offset_top = -134.0 | ||||||
| grow_horizontal = 2 | grow_horizontal = 2 | ||||||
| grow_vertical = 0 | grow_vertical = 0 | ||||||
|  | mouse_filter = 2 | ||||||
| 
 | 
 | ||||||
| [node name="HoverText" type="Label" parent="CenterContainer2"] | [node name="HoverText" type="Label" parent="CenterContainer2"] | ||||||
| layout_mode = 2 | layout_mode = 2 | ||||||
|  | |||||||
| @ -47,6 +47,8 @@ namespace Gmtk24 { | |||||||
| 
 | 
 | ||||||
|                     HoverText.Text = $"{FormButtonNames("interact")}: {interactible.InteractName}"; |                     HoverText.Text = $"{FormButtonNames("interact")}: {interactible.InteractName}"; | ||||||
|                 } else { |                 } else { | ||||||
|  |                     Hovered?.SetHovered(false); | ||||||
|  |                     Hovered = null; | ||||||
|                     HoverText.Text = ""; |                     HoverText.Text = ""; | ||||||
|                 } |                 } | ||||||
|             } else { |             } else { | ||||||
|  | |||||||
| @ -82,7 +82,8 @@ namespace Gmtk24 { | |||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         public void Interact(InputEvent _) { |         public void Interact(InputEvent _) { | ||||||
|             Orbit.SetEnabled(true); |             if (IsEnabled) | ||||||
|  |                 Orbit.SetEnabled(true); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         public override void _Process(double delta) { |         public override void _Process(double delta) { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user