Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlay for particular frames only #356

Open
BbIKTOP opened this issue Oct 9, 2021 · 2 comments · May be fixed by #358
Open

Overlay for particular frames only #356

BbIKTOP opened this issue Oct 9, 2021 · 2 comments · May be fixed by #358

Comments

@BbIKTOP
Copy link

BbIKTOP commented Oct 9, 2021

Sorry, didn't find any other places to ask. It's more like feature reques, probably, but maybe it is already implemented. Is it possible to set the overlay for some particular frames only? Like, frame 1 has no overlay, frame 2, 3 and 4 have, and frames 5 and 6 have no overlay as well as first one. During transition from 1 to 2, overlay appears scrolling together with 2, then stays as usual overlay on transition 2-3 and 3-4, then scrolls out of the screen with frame 4 during 4-5 transition and does not appear while scrolling from 5 to 6. Is it possible to implement this somehow?
Thank you!

@BbIKTOP
Copy link
Author

BbIKTOP commented Oct 10, 2021

I tried to implement this myself, but cannot find a way to determine the curent transition state. I see, there's frameState field in the OLEDDisplayUiState, but it does not indicate, does the frame scrolling into view or out of view. Is there a way to add the scrolling direction? Like

enum FrameState {
  IN_TRANSITION_IN,
  IN_TRANSITION_OUT,
  FIXED
};

Or something alike?

@BbIKTOP
Copy link
Author

BbIKTOP commented Dec 19, 2021

Any feedback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant