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

Expose current control's value to expressions #857

Closed
2xAA opened this issue May 22, 2023 Discussed in #856 · 2 comments · Fixed by #859
Closed

Expose current control's value to expressions #857

2xAA opened this issue May 22, 2023 Discussed in #856 · 2 comments · Fixed by #859
Labels
enhancement Feature requests released

Comments

@2xAA
Copy link
Member

2xAA commented May 22, 2023

Discussed in #856

Originally posted by HorstBaerbel May 16, 2023
Say you want to change the rotation of an object in an increment every time audio:kick occurs ("Input Config"->"Expression"). Is this currently possible in modV? I see no option to get the current value of the parameter I want to change.

@2xAA 2xAA added the enhancement Feature requests label May 22, 2023
@2xAA 2xAA changed the title Expose current control's value to expression Expose current control's value to expressions May 22, 2023
@HorstBaerbel
Copy link

My JS knowledge is really shoddy, else I would try to help...

2xAA added a commit that referenced this issue May 22, 2023
the current control's value is now available on the scope variable `inputValue` in the expression editor, allowing for input feedback

fixes #857
@2xAA 2xAA closed this as completed in #859 Jun 11, 2023
2xAA added a commit that referenced this issue Jun 11, 2023
* feat(expressions): adds `inputValue` as scope item

the current control's value is now available on the scope variable `inputValue` in the expression editor, allowing for input feedback

fixes #857

* refactor: export swap as named export and remove useless else

* feat: add swap to expressions
github-actions bot pushed a commit that referenced this issue Jun 11, 2023
# [3.28.0](3.27.0...3.28.0) (2023-06-11)

### Bug Fixes

* **background-window:** fixes macos window creation on dock icon click ([#850](#850)) ([a4d2d0b](a4d2d0b))
* **gallery:** use grab cursor for gallery items ([#844](#844)) ([23bd5c3](23bd5c3))
* move maximize function to keep main window hidden until ready ([#839](#839)) ([fbfff08](fbfff08))
* **output-window:** removes immediate setSize call ([#849](#849)) ([151feb0](151feb0))
* remove dialog ([#841](#841)) ([81996d1](81996d1))
* restores tween data correctly when focusing other inputs ([#837](#837)) ([aa4a3d5](aa4a3d5))
* **style:** use custom select and expand widths to 100% ([#845](#845)) ([4453dd8](4453dd8))
* use correct path variable ([#846](#846)) ([14460ab](14460ab))

### Features

* **cursor:** adds grab cursor to group and active module titles ([#842](#842)) ([888ed83](888ed83))
* **expressions:** adds `inputValue` as scope item ([#859](#859)) ([e5f7c7b](e5f7c7b)), closes [#857](#857)
* **group title:** adds additional mouse listener, focus and selection ([#843](#843)) ([4b54059](4b54059))
* **save/saveas:** adds save menu item and updates save as to remember path ([#858](#858)) ([2250fa2](2250fa2))
@github-actions
Copy link

🎉 This issue has been resolved in version 3.28.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants