mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 10:38:12 +08:00
Clean up arg order in process_message() so data is last
This commit is contained in:
@@ -11,7 +11,7 @@ pub struct InputMapperMessageHandler {
|
||||
}
|
||||
|
||||
impl MessageHandler<InputMapperMessage, (&InputPreprocessorMessageHandler, ActionList)> for InputMapperMessageHandler {
|
||||
fn process_message(&mut self, message: InputMapperMessage, (input, actions): (&InputPreprocessorMessageHandler, ActionList), responses: &mut VecDeque<Message>) {
|
||||
fn process_message(&mut self, message: InputMapperMessage, responses: &mut VecDeque<Message>, (input, actions): (&InputPreprocessorMessageHandler, ActionList)) {
|
||||
if let Some(message) = self.mapping.match_input_message(message, &input.keyboard, actions) {
|
||||
responses.push_back(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user