-
Notifications
You must be signed in to change notification settings - Fork 21
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
[KomaUI Plotting] obj_ui[] does not draw on first time updated. Need to press :rho or other option. #407
Comments
Has same behavior. No draw the first time. |
Also does the same thing, so consistent. Same code or same code called? |
I will need to look into this, in KomaUI.jl we define the callbacks as follows: on((obj) -> view_ui!(obj, w, seq_ui[], widgets_button_obj; key=:ρ, darkmode), obj_ui)
for (widget_button, key) in zip(widgets_button_obj, fieldnames_obj)
on((cnt) -> view_ui!(cnt, w, obj_ui[], seq_ui[], widgets_button_obj; key, darkmode), widget_button)
end So, for example, the first one means that each time |
After looking into it, that wasn't the problem. There are two things that I didn't realize:
@pvillacorta could you fix this? |
@pvillacorta Also, it seems that plotting a phantom with too many spins shows fewer spins, with no warning telling the user that it is happening. |
It does seem to do the warning the first time only, which is probably related to the calling issues mentioned in: #407 (comment)
|
See |
The solution is not as easy as using
Solved in #413, as well as the |
What happened?
obj_ui[] does not draw on first time updated:
Need to press :rho or other button option:
Environment
The text was updated successfully, but these errors were encountered: