mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-24 16:13:44 +00:00
Fix grid overlay color showing as none
This commit is contained in:
parent
d6dad92659
commit
a4a513911d
4 changed files with 9 additions and 5 deletions
|
@ -95,7 +95,8 @@ impl log::Log for WasmLog {
|
|||
|
||||
let file = record.file().unwrap_or_else(|| record.target());
|
||||
let line = record.line().map_or_else(|| "[Unknown]".to_string(), |line| line.to_string());
|
||||
let msg = &format!("%c{} {file}:{line} \n{}%c", name, record.args());
|
||||
let args = record.args();
|
||||
let msg = &format!("%c{name}\t{file}:{line}\n{args}"); // The %c is replaced by the message color
|
||||
log(msg, color)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue