1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:52:55 +08:00

Merge pull request #26547 from bdach/cursor-ripple-pool-wrong

Fix cursor ripple pool not loading pooled drawables ahead of time
This commit is contained in:
Dean Herbert 2024-01-15 22:56:50 +09:00 committed by GitHub
commit 23815b2045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,8 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
private void load(OsuRulesetConfigManager? rulesetConfig) private void load(OsuRulesetConfigManager? rulesetConfig)
{ {
rulesetConfig?.BindWith(OsuRulesetSetting.ShowCursorRipples, showRipples); rulesetConfig?.BindWith(OsuRulesetSetting.ShowCursorRipples, showRipples);
AddInternal(ripplePool);
} }
public bool OnPressed(KeyBindingPressEvent<OsuAction> e) public bool OnPressed(KeyBindingPressEvent<OsuAction> e)