Skip to content

Hide cursor during background reveal in song select#36248

Closed
UltraDrakon wants to merge 1 commit intoppy:masterfrom
UltraDrakon:cursor-fade-on-background-reveal
Closed

Hide cursor during background reveal in song select#36248
UltraDrakon wants to merge 1 commit intoppy:masterfrom
UltraDrakon:cursor-fade-on-background-reveal

Conversation

@UltraDrakon
Copy link
Copy Markdown
Contributor

Addresses #36238

When using the background reveal feature, the cursor was intrusive and blocked the view of the beatmap background.

This PR makes the cursor fade out in sync with the background reveal animation. The behavior is:

  • Cursor fades out when the background reveal starts
  • Moving the mouse while viewing the background shows the cursor immediately
  • After 1 second of no mouse movement, the cursor fades out again
  • Cursor returns to normal when releasing the mouse button

@peppy
Copy link
Copy Markdown
Member

peppy commented Jan 6, 2026

If we're even considering allowing local control of cursor visibility using a new method, it needs to be lease based.

But more importantly, we have a system for hiding the cursor, see

public interface IProvideCursor : IDrawable
usages.

@peppy
Copy link
Copy Markdown
Member

peppy commented Jan 6, 2026

I'd recommend you attempt this again using IProvideCursor, hopefully with only a few lines of code.

@peppy peppy closed this Jan 6, 2026
@UltraDrakon UltraDrakon deleted the cursor-fade-on-background-reveal branch January 6, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants