Compare commits

...

2 Commits

Author SHA1 Message Date
Jill 399d6329a0 forgot to remove debug prints. lol. lmao 2022-09-25 15:38:21 +03:00
Jill 69f38b0e3e fix bitmaptext font stuff 2022-09-25 15:36:47 +03:00
1 changed files with 1 additions and 4 deletions

View File

@ -311,13 +311,11 @@
local newFrame, idx = findFirstActorFrame(currentPath)
local newActor = findFirstActor(currentPath)
if newFrame and not (newActor and forceActor) then
print('creating frame')
table.insert(pastPaths, currentPath)
currentPath = currentPath[idx]
table.remove(pastPaths[#pastPaths], idx)
return true
elseif newActor then
print('creating actor')
table.insert(pastPaths, currentPath)
return true
else
@ -326,7 +324,6 @@
end
function oat._actor.recurseLast()
print('recurselast: hi!')
return oat._actor.recurse(true)
end
@ -593,7 +590,7 @@
local actor = createProxyActor('BitmapText')
table.insert(actorQueue, {
type = 'BitmapText',
font = font and (oat.dir .. font) or 'common',
font = font or 'common',
init = function(a)
if text then a:settext(text) end
actor.__lock(a)