mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 12:08:11 +08:00
Rename the message system's 'data' argument to 'context' (#2872)
This commit is contained in:
@@ -5,7 +5,7 @@ pub struct GlobalsMessageHandler {}
|
||||
|
||||
#[message_handler_data]
|
||||
impl MessageHandler<GlobalsMessage, ()> for GlobalsMessageHandler {
|
||||
fn process_message(&mut self, message: GlobalsMessage, _responses: &mut VecDeque<Message>, _data: ()) {
|
||||
fn process_message(&mut self, message: GlobalsMessage, _responses: &mut VecDeque<Message>, _: ()) {
|
||||
match message {
|
||||
GlobalsMessage::SetPlatform { platform } => {
|
||||
if GLOBAL_PLATFORM.get() != Some(&platform) {
|
||||
|
||||
Reference in New Issue
Block a user