Skip to content

Commit

Permalink
oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
Hobbyshop committed Apr 7, 2024
1 parent 52bf683 commit 7e10c03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ abstract class AbstractPanel(private val child: Widget? = null) : Element<PanelS
override fun render(renderer: Renderer) {
renderer.roundedRectangle(offset.x, offset.y, size.width, size.height, styles.radius.toFloat(), styles.color)
if (styles.border != null)
renderer.roundedRectangleFrame(offset.x, offset.y, size.width, size.height, styles.border!!.sides, styles.radius.toFloat(), styles.border!!.color)
renderer.roundedRectangleFrame(offset.x, offset.y, size.width, size.height, styles.border!!.sides.top, styles.radius.toFloat(), styles.border!!.color)
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
package com.neptuneclient.voidui.tests

import com.neptuneclient.voidui.VoidUI
import com.neptuneclient.voidui.event.EventHandler
import com.neptuneclient.voidui.event.TestEvent
import com.neptuneclient.voidui.widgets.*
import com.neptuneclient.voidui.widgets.objects.EdgeInsets
Expand Down

0 comments on commit 7e10c03

Please sign in to comment.