add EID.isDisplaying support
This commit is contained in:
1 parent
7d9f6f5a67
commit
dcef8a1c9d
1 file changed
+9
@@ -489,6 +489,10 @@ function EID:printDescriptions(useCached)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if #EID.previousDescs > 0 then
|
||||||
|
EID.isDisplaying = true
|
||||||
|
end
|
||||||
|
|
||||||
-- Print our cached descriptions
|
-- Print our cached descriptions
|
||||||
for i,indicator in ipairs(EID.CachedIndicators) do
|
for i,indicator in ipairs(EID.CachedIndicators) do
|
||||||
EID:renderIndicator(indicator[1], indicator[2])
|
EID:renderIndicator(indicator[1], indicator[2])
|
||||||
@@ -516,6 +520,10 @@ function EID:printNewDescriptions()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
EID.CachingDescription = false
|
EID.CachingDescription = false
|
||||||
|
|
||||||
|
if #EID.previousDescs > 0 then
|
||||||
|
EID.isDisplaying = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function EID:printDescription(desc, cachedID)
|
function EID:printDescription(desc, cachedID)
|
||||||
@@ -525,6 +533,7 @@ function EID:printDescription(desc, cachedID)
|
|||||||
if alwaysUseLocalMode then return false
|
if alwaysUseLocalMode then return false
|
||||||
else alwaysUseLocalMode = true end
|
else alwaysUseLocalMode = true end
|
||||||
end
|
end
|
||||||
|
EID.isDisplaying = true
|
||||||
local renderPos = EID:getTextPosition()
|
local renderPos = EID:getTextPosition()
|
||||||
|
|
||||||
if cachedID then
|
if cachedID then
|
||||||
|
|||||||
Reference in new issue
Block a user