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

[crossfade] add menu options #1065

Merged
merged 13 commits into from
Apr 4, 2023
Merged

Conversation

Araxeus
Copy link
Collaborator

@Araxeus Araxeus commented Mar 12, 2023

fix #1046

This PR also improve the new dynamic config, and implements it in the crossfade plugin

  • create sendToFront()212009a
    This is done to avoid the need for a specific browserWindow
    TODO: replace all webcontents.send in the app with sendToFront = require('../providers/app-controls')

  • add subscribe and subscribeAll to config648d102
    this primarily allows front.js to have an up to date config without requesting it over ipc every second.
    for example, the crossfade plugin uses its options.secondsBeforeEnd every second - so subscribeAll would be much more efficient in this case

  • use new dynamic config2ad097c

@Araxeus Araxeus force-pushed the add-crossfade-menu-options branch from 3d398fe to 9f9e991 Compare March 16, 2023 17:55
@Araxeus
Copy link
Collaborator Author

Araxeus commented Mar 16, 2023

btw @th-ch maybe the default exitMusicBeforeEnd is a bit too high?

@Araxeus Araxeus force-pushed the add-crossfade-menu-options branch from bd27f23 to 9c64d5d Compare March 16, 2023 21:35
* enable onwheel in number inputs
* enable wheel event on keybind prompt
@Araxeus Araxeus force-pushed the add-crossfade-menu-options branch from 9c64d5d to 9d6a78b Compare March 16, 2023 21:50
Araxeus added 5 commits March 19, 2023 21:05
TODO: replace all `webcontents.send ` with `sendToFront  = require('../providers/app-controls')`
this primarily allows front.js to have an up to date config without requesting it over ipc every second

for example the crossfade plugin uses its `options.secondsBeforeEnd` every second - so `subscribeAll` would be much more efficient in this case
@Araxeus Araxeus requested a review from th-ch March 21, 2023 15:57
@Araxeus Araxeus force-pushed the add-crossfade-menu-options branch from e488c1c to 7b8143d Compare March 22, 2023 15:34
@Araxeus Araxeus force-pushed the add-crossfade-menu-options branch from 7b8143d to 55a442e Compare March 22, 2023 15:39
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 this pull request may close these issues.

[Feedback]: Crossfade too abrupt
2 participants