v1.4.4.1 (Blood in the Water Update)

This commit is contained in:
Regalis11
2024-04-24 18:09:05 +03:00
parent 89b91d1c3e
commit ff1b8951a7
397 changed files with 15250 additions and 6479 deletions
@@ -1,4 +1,4 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework;
using System;
namespace Barotrauma
@@ -198,7 +198,9 @@ namespace Barotrauma
base.Update(deltaTime);
if (GUI.MouseOn == this && Enabled)
if (GUI.MouseOn == this && Enabled &&
//allow clicking on the text area, but not further to the right (the dimensions of the component itself can extend further than the text)
PlayerInput.MousePosition.X < Rect.X + ContentWidth)
{
State = Selected ?
ComponentState.HoverSelected :