mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
SOFTREF macro (#2574)
Adds a SOFTREF macro because it's an actual PITA to write out. Refactors all applicable usecases of it to use it. I've left out some NanoUI stuff because you know my preference at being explicit when needed.
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
note_wrapper = new_wrapper
|
||||
note_text = new_text
|
||||
|
||||
note_text = replacetextEx(note_text, ":src_ref", "\ref[src]")
|
||||
note_wrapper[1] = replacetextEx(note_wrapper[1], ":src_ref", "\ref[src]")
|
||||
note_text = replacetextEx(note_text, ":src_ref", SOFTREF(src))
|
||||
note_wrapper[1] = replacetextEx(note_wrapper[1], ":src_ref", SOFTREF(src))
|
||||
|
||||
if (new_persistence)
|
||||
persistent = new_persistence
|
||||
|
||||
Reference in New Issue
Block a user