Skip to content

Commit

Permalink
now draws (but weirdly)
Browse files Browse the repository at this point in the history
  • Loading branch information
winrid committed May 27, 2024
1 parent 5c54113 commit 8ed8d7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/NetPanzer/Views/Components/ScrollableText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "ScrollableText.hpp"

void ScrollableText::draw(Surface &dest) {
// iRect r(drawMin, drawMin + size);
surface.setTo(dest);
surface.blt(*textSurface, 0, offsetY);
textSurface->blt(surface, 0, offsetY);
upButton->draw(surface);
downButton->draw(surface);
}
Expand Down

0 comments on commit 8ed8d7a

Please sign in to comment.