mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 15:58:12 +08:00
Rename the message system's 'data' argument to 'context' (#2872)
This commit is contained in:
@@ -31,7 +31,7 @@ impl EditorTestUtils {
|
||||
// It isn't sufficient to guard the message dispatch here with a check if the once_cell is empty, because that isn't atomic and the time between checking and handling the dispatch can let multiple through.
|
||||
let _ = GLOBAL_PLATFORM.set(Platform::Windows).is_ok();
|
||||
|
||||
editor.handle_message(Message::Init);
|
||||
editor.handle_message(PortfolioMessage::Init);
|
||||
|
||||
Self { editor, runtime }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user