claude arreglant el ending

This commit is contained in:
2025-11-21 10:48:15 +01:00
parent 83d4d0b954
commit 972d23f178

View File

@@ -457,7 +457,7 @@ void Ending::updateSpriteCovers() {
}
// Fase 2: Revelar contenido
else {
sprite_texts_.at(ti.index).cover_clip_desp = 0;
sprite_texts_.at(ti.index).cover_clip_desp = 8;
const float CONTENT_PIXELS = PIXELS_REVEALED - 8.0F;
sprite_texts_.at(ti.index).cover_clip_height = std::max(0, static_cast<int>(INITIAL_HEIGHT - CONTENT_PIXELS));
sprite_texts_.at(ti.index).cover_sprite->setY(Y_INITIAL + static_cast<int>(CONTENT_PIXELS));
@@ -484,7 +484,7 @@ void Ending::updateSpriteCovers() {
}
// Fase 2: Revelar contenido
else {
sprite_pics_.at(current_scene_).cover_clip_desp = 0;
sprite_pics_.at(current_scene_).cover_clip_desp = 8;
const float CONTENT_PIXELS = PIXELS_REVEALED - 8.0F;
sprite_pics_.at(current_scene_).cover_clip_height = std::max(0, static_cast<int>(INITIAL_HEIGHT - CONTENT_PIXELS));
sprite_pics_.at(current_scene_).cover_sprite->setY(Y_INITIAL + static_cast<int>(CONTENT_PIXELS));