Skip to content

Commit

Permalink
Fixes a visual glitch when moving elements within the hotbars. (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arufonsu authored and lodicolo committed Mar 28, 2022
1 parent f18286e commit 12ec4ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Intersect.Client/Interface/Game/Hotbar/HotbarItem.cs
Expand Up @@ -455,6 +455,7 @@ public void Update()
{
if (!IsDragging)
{
mContentPanel.IsHidden = false;
if (mMouseOver)
{
if (!Globals.InputManager.MouseButtonDown(GameInput.MouseButtons.Left))
Expand Down Expand Up @@ -506,8 +507,6 @@ public void Update()
{
if (mDragIcon.Update())
{
mContentPanel.IsHidden = false;

//Drug the item and now we stopped
IsDragging = false;
var dragRect = new FloatRect(
Expand Down

0 comments on commit 12ec4ea

Please sign in to comment.