mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +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
|
end
|
||||||
|
|
||||||
function texmod:mask(mask)
|
function texmod:mask(_mask)
|
||||||
return new{
|
return new{
|
||||||
type = "mask",
|
type = "mask",
|
||||||
base = self,
|
base = self,
|
||||||
mask = mask
|
_mask = _mask
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ function pw:colorize(w)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function pw:mask(w)
|
function pw:mask(w)
|
||||||
w.colon(); w.esctex(self.mask)
|
w.colon(); w.esctex(self._mask)
|
||||||
end
|
end
|
||||||
|
|
||||||
function pw:lowpart(w)
|
function pw:lowpart(w)
|
||||||
|
Loading…
Reference in New Issue
Block a user