]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commit
Fix layer folding
authorVincent Pit <vince@profvince.com>
Sun, 18 Jul 2010 22:32:25 +0000 (00:32 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 18 Jul 2010 22:32:25 +0000 (00:32 +0200)
commit32fbc7c8acf36e81b3c3436152e664e79c74dc87
tree47ce77be49d4f80ba3a7d4e91c91a156ce417be6
parent9e8367c3ac993eb5733ab8a1b517d037f8d9b8f4
Fix layer folding

We can't rely on the common mod folding optimization when both scopes
have specific layers applied, because all mods need to be reapplied after
the layer is enforced.

Also test layers in t/21-layer.t.
MANIFEST
lib/LaTeX/TikZ/Mod/Layer.pm
lib/LaTeX/TikZ/Scope.pm
lib/LaTeX/TikZ/Set.pm
t/21-layer.t [new file with mode: 0644]