entry: drop the 「つかわない」 caption #5
@@ -381,13 +381,8 @@ function Entry:draw_credit(a, sel, blink_f, flash_row, flash_a, loop_rows)
|
||||
tex.draw_texture(self.cr_flash, { index = sel - 1, fade = a * pulse })
|
||||
end
|
||||
|
||||
if sel == 0 and self.text_cancel then
|
||||
self.text_cancel:draw({
|
||||
x = math.floor(CANCEL_CX - self.text_cancel.width / 2 + 0.5),
|
||||
y = math.floor(CANCEL_CY - self.text_cancel.height / 2 + 0.5),
|
||||
fade = a,
|
||||
})
|
||||
end
|
||||
-- The cabinet never shows a 「つかわない」 caption on this screen (the cancel side is
|
||||
-- just the un-armed state), so nothing is drawn for sel == 0.
|
||||
|
||||
if flash_row and flash_a and flash_a > 0.002 then
|
||||
tex.draw_texture(self.cr_flash, { index = flash_row - 1, fade = a * flash_a })
|
||||
|
||||
Reference in new issue
Block a user