Skip to content

library: Add Overlay entry#251

Merged
sonnyp merged 3 commits intoworkbenchdev:mainfrom
AkshayWarrier:add-overlay-entry
Mar 26, 2023
Merged

library: Add Overlay entry#251
sonnyp merged 3 commits intoworkbenchdev:mainfrom
AkshayWarrier:add-overlay-entry

Conversation

@AkshayWarrier
Copy link
Copy Markdown
Contributor

Adds overlay entry
Issue workbenchdev/demos#3

@AkshayWarrier
Copy link
Copy Markdown
Contributor Author

AkshayWarrier commented Mar 26, 2023

I'm unsure on how I should demonstrate interaction with the background when it's a Gtk.Picture

  1. What should happen when someone clicks/hovers on the picture
  2. How do I listen for that event on a Gtk.Picture

Right now I have added a simple darkening effect to the osd on hover

Copy link
Copy Markdown
Contributor

@sonnyp sonnyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should happen when someone clicks/hovers on the picture

yeah it's not super straightforward - let's leave it out for now - we can always improve this demo later 👍

Comment thread src/Library/demos/Overlay/main.js Outdated
Comment thread src/Library/demos/Overlay/main.json Outdated
Comment thread src/Library/demos/Overlay/main.blp
@sonnyp sonnyp self-assigned this Mar 26, 2023
@sonnyp
Copy link
Copy Markdown
Contributor

sonnyp commented Mar 26, 2023

For later here is an interesting use case

Screencast.from.2023-03-26.14-47-31.webm

@AkshayWarrier AkshayWarrier marked this pull request as ready for review March 26, 2023 13:41
@AkshayWarrier AkshayWarrier requested a review from sonnyp March 26, 2023 13:41
@sonnyp sonnyp merged commit 18cf482 into workbenchdev:main Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants