mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:32:55 +08:00
Remove unintended left-over invalidation code
This commit is contained in:
parent
a8764b67e1
commit
46eba86ad1
@ -4,13 +4,11 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using JetBrains.Annotations;
|
using JetBrains.Annotations;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Extensions.EnumExtensions;
|
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Primitives;
|
using osu.Framework.Graphics.Primitives;
|
||||||
using osu.Framework.Input.Bindings;
|
using osu.Framework.Input.Bindings;
|
||||||
using osu.Framework.Input.Events;
|
using osu.Framework.Input.Events;
|
||||||
using osu.Framework.Layout;
|
|
||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
using osu.Game.Input.Bindings;
|
using osu.Game.Input.Bindings;
|
||||||
using osu.Game.Screens;
|
using osu.Game.Screens;
|
||||||
@ -87,14 +85,6 @@ namespace osu.Game.Skinning.Editor
|
|||||||
|
|
||||||
protected override void PopOut() => skinEditor?.Hide();
|
protected override void PopOut() => skinEditor?.Hide();
|
||||||
|
|
||||||
protected override bool OnInvalidate(Invalidation invalidation, InvalidationSource source)
|
|
||||||
{
|
|
||||||
if (invalidation.HasFlagFast(Invalidation.DrawSize))
|
|
||||||
Scheduler.AddOnce(updateScreenSizing);
|
|
||||||
|
|
||||||
return base.OnInvalidate(invalidation, source);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
base.Update();
|
base.Update();
|
||||||
|
Loading…
Reference in New Issue
Block a user