We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Custom panel actors completely overwrite the actors object.
To reproduce
system/view/VID/styles/test-panel: [ default-actor: on-down template: [ type: 'panel size: 200x200 actors: [ test-func: func [a b][] ] ] init: [ ?? actors actors/test-func 1 2 ] ] view [test-panel [button "test"] on-created [print "created"]]
Expected behavior Custom actor functions should overwrite ONLY an already existing function with the same name.
Platform version
-----------RED & PLATFORM VERSION----------- RED: [ branch: "master" tag: #v0.6.5 ahead: 32 date: 16-Mar-2024/20:36:50 commit: #181d7faeab0381d7a86575847918a4ab05e68503 ] PLATFORM: [ name: "Windows 11" OS: 'Windows arch: 'x86-64 version: 10.0.0 build: 22631 ] --------------------------------------------
The text was updated successfully, but these errors were encountered:
Sounds like we've been there before with issue #3392.
Sorry, something went wrong.
with the only difference that that was an inline VID style and this is a template
style
A template of a panel. A template of something else works.
panel
https://github.com/red/red/blob/master/modules/view/VID.red#L819
dockimbel
No branches or pull requests
Describe the bug
Custom panel actors completely overwrite the actors object.
To reproduce
Expected behavior
Custom actor functions should overwrite ONLY an already existing function with the same name.
Platform version
The text was updated successfully, but these errors were encountered: