mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-21 23:03:44 +01:00
texmod
: Fix :mask(...)
and .mask
name collision
This commit is contained in:
parent
5fbb159a41
commit
9911442977
@ -311,11 +311,11 @@ function texmod:colorize(color, ratio)
|
||||
}
|
||||
end
|
||||
|
||||
function texmod:mask(mask)
|
||||
function texmod:mask(_mask)
|
||||
return new{
|
||||
type = "mask",
|
||||
base = self,
|
||||
mask = mask
|
||||
_mask = _mask
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -87,7 +87,7 @@ function pw:colorize(w)
|
||||
end
|
||||
|
||||
function pw:mask(w)
|
||||
w.colon(); w.esctex(self.mask)
|
||||
w.colon(); w.esctex(self._mask)
|
||||
end
|
||||
|
||||
function pw:lowpart(w)
|
||||
|
Loading…
Reference in New Issue
Block a user