Jump to navigation Jump to search
No change in size ,  20:01, 4 August 2016
→‎Resolution-dependent keys and layouts: Fix more syntax highlighting
The "proper" way to do that multi-resolution assignment would obviously be:
<syntax typesource lang="xml">
<def var = 'TestVar' value = '100' resolution = 'y<400'/>
<def var = 'TestVar' value = '200' resolution = 'y>399'/>
This way keys are only parsed on the resolution they are used in, but the result will be '''exactly the same''': Most of the time it's just cleaner to avoid using <tt>y<400</tt> resolution tags, and instead write a layout that works on all resolutions and overwrite parts of it with the <tt>y>399<tt> tag.


Navigation menu