Since we pre-fill the cached `keyMap` with the value of `DefaultLayer`, there is no need to check that layer again, looking for a non-transparent key. Whatever is there, will be used anyway. This way we save a cycle for keys that are transparent everywhere but the default layer. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/108/head
parent
0bdbe7385a
commit
67e906bc15
Loading…
Reference in new issue