Skip to content

Commit

Permalink
Add scale to draw call
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Mar 16, 2024
1 parent 21b6c8e commit 274614b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/object/thunderstorm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Thunderstorm::draw(DrawingContext& context)

context.push_transform();
context.set_translation(Vector(0, 0));
context.transform().scale = 1.f;
context.color().draw_gradient(m_flash_color, m_flash_color, 500, GradientDirection::HORIZONTAL, context.get_rect(), Blend::ADD);
context.pop_transform();
}
Expand Down

0 comments on commit 274614b

Please sign in to comment.