Skip to content

Commit

Permalink
check if running initial event loop helps
Browse files Browse the repository at this point in the history
  • Loading branch information
prixt committed Feb 15, 2020
1 parent 302dc91 commit a129ec8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
tag_name: ${{ steps.tag_name.outputs.tag }}
release_name: ${{ steps.tag_name.outputs.tag }}
draft: false
prerelease: "contains(steps.tag_name.outputs.tag, 'alpha') || contains(steps.tag_name.outputs.tag, 'beta')"
prerelease: ${{contains(steps.tag_name.outputs.tag, 'alpha') || contains(steps.tag_name.outputs.tag, 'beta')}}

- name: Write Down URL
run: echo "${{steps.create_release.outputs.upload_url}}" > upload_url
Expand Down
4 changes: 3 additions & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,14 @@ Source at:
.build()
.unwrap();

webview.step().unwrap().unwrap();
// std::thread::sleep(std::time::Duration::from_millis(5000));

while let Some(result) = webview.step() {
result.unwrap();
for ui_message in ui_rx.try_iter() {
match ui_message {
UIMessage::LoadedSoundpack(channel_names) => {
std::thread::sleep(std::time::Duration::from_millis(500));
clear_sliders(&mut webview);
for name in channel_names.iter() {
add_slider(&mut webview, name)
Expand Down

0 comments on commit a129ec8

Please sign in to comment.