diff --git a/general/ui/tab/TabManager.cs b/general/ui/tab/TabManager.cs index 1920f6f..b6eb627 100644 --- a/general/ui/tab/TabManager.cs +++ b/general/ui/tab/TabManager.cs @@ -237,8 +237,11 @@ void swap(bool left) _updateTabEntryRectAs(tab_entries[index], index); _updateTabEntryRectAs(tab_entries[index + (left ? -1 : 1)], index + (left ? -1 : 1)); var position = tab_entry_rect.localPosition; - delta.x = 0; - current_pos = position; + if(Math.Abs(position.y - current_pos.y) > 0.01f) + { + delta.x = 0; + current_pos = position; + } } if (index == 0)