Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from edbookfest/fix-event-slide-fade
Browse files Browse the repository at this point in the history
Fix event slide fade
  • Loading branch information
craig410 authored Jul 12, 2019
2 parents d5861b1 + 66999e2 commit 935e016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion control.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h4>Debug tools</h4>
document.getElementById('load-event').addEventListener('click', function (e) {
var event_id = document.getElementById('event-id').value;
ib.sendCommand("eventid", event_id);
ib.sendCommand("event-slide/eventid", event_id);
ib.sendCommand("walkin/event-slide/eventid", event_id);
});

document.getElementById('show-walkin').addEventListener('click', function (e) {
Expand Down
2 changes: 1 addition & 1 deletion node.lua
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ function node.render()
event_slide:draw(0, 0, WIDTH, HEIGHT, event_slide_alpha)
end

if event_slide_alpha <= 0 then
if event_slide_alpha < 0 then
walkin_state = "walkin"
end

Expand Down

0 comments on commit 935e016

Please sign in to comment.