Skip to content

Commit

Permalink
Merge pull request #74 from Ventus218/develop
Browse files Browse the repository at this point in the history
Merging latest performance improvements
  • Loading branch information
Ventus218 authored Nov 1, 2024
2 parents 54a8baf + 49d20bb commit e68c4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScalaGameEngine/src/main/scala/sge/swing/SwingIO.scala
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ object SwingIO:
setBackground(color)

def add(renderer: (Graphics2D => Unit, Int)): Unit =
renderers = renderers :+ renderer
renderers = renderer +: renderers

def showRenderers(): Unit = SwingUtilities.invokeLater(() => {
show = true; repaint()
Expand Down

0 comments on commit e68c4cb

Please sign in to comment.