Skip to content

Commit

Permalink
fix(defs): undo change event id name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sequal32 committed Dec 26, 2022
1 parent f0351f9 commit 1e4985c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/yourcontrols/src/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ impl Definitions {
};
self.current_sync.events.push(Event::JSEvent { name });
}
JSPayloads::Input { event_id: id, value } => {
JSPayloads::Input { id, value } => {
let mut input_full_name = String::new();
input_full_name.push_str(&id);
input_full_name.push('#');
Expand Down Expand Up @@ -1440,7 +1440,7 @@ impl Definitions {
instrument,
} => self
.jstransfer
.write_payload(JSPayloads::Input { event_id: id, value }, Some(&instrument)),
.write_payload(JSPayloads::Input { id, value }, Some(&instrument)),
Event::Time {
hour,
minute,
Expand Down
2 changes: 1 addition & 1 deletion src/yourcontrols/src/sync/jscommunicator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub enum JSPayloads {
name: String,
},
Input {
event_id: String,
id: String,
value: String,
},
Time {
Expand Down

0 comments on commit 1e4985c

Please sign in to comment.