Skip to content

Commit a5404d1

Browse files
committed
rename TagList:isTagTransformed() to TagList:checkTransformed()
when used without an argument this function returns a hashtable of (tag name) -> (is being transformed)[true/false] values, which was poorly reflected by the old name
1 parent 6511a60 commit a5404d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

l0/ASSFoundation/TagList.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ return function(ASS, ASSFInst, yutilsMissingMsg, createASSClass, re, util, unico
9595
return flatTagList
9696
end
9797

98-
function TagList:isTagTransformed(tagName)
98+
function TagList:checkTransformed(tagName)
9999
local set = {}
100100
for i=1,#self.transforms do
101101
for j=1,#self.transforms[i].tags.tags do
@@ -207,7 +207,7 @@ return function(ASS, ASSFInst, yutilsMissingMsg, createASSClass, re, util, unico
207207

208208
local defaults = ownReset and self.contentRef:getDefaultTags(ownReset)
209209
local otherReset = other.reset and other.contentRef:getDefaultTags(other.reset)
210-
local otherTransSet = other:isTagTransformed()
210+
local otherTransSet = other:checkTransformed()
211211

212212
for name,tag in pairs(self.tags) do
213213
local global = tag.__tag.global and not ignoreGlobalState

0 commit comments

Comments
 (0)