Skip to content

Commit

Permalink
feat: Font FIleFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
opZywl committed Jan 20, 2025
1 parent 44e0d3d commit f7914a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import net.ccbluex.liquidbounce.ui.client.hud.HUD
import net.ccbluex.liquidbounce.ui.client.hud.HUD.ELEMENTS
import net.ccbluex.liquidbounce.ui.client.hud.element.Element
import net.ccbluex.liquidbounce.ui.client.hud.element.Side
import net.ccbluex.liquidbounce.ui.font.Fonts
import net.ccbluex.liquidbounce.ui.font.Fonts.font35
import net.ccbluex.liquidbounce.utils.client.MinecraftInstance
import net.ccbluex.liquidbounce.utils.extensions.lerpWith
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import java.awt.Color
*
* Allows to move and customize minecraft scoreboard
*/
@ElementInfo(name = "Scoreboard", force = true)
@ElementInfo(name = "Scoreboard")
class ScoreboardElement(
x: Double = 5.0, y: Double = 0.0, scale: Float = 1F, side: Side = Side(Side.Horizontal.RIGHT, Side.Vertical.MIDDLE)
) : Element("Scoreboard", x, y, scale, side) {
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/net/ccbluex/liquidbounce/utils/io/MiscUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,7 @@ object FileFilters {

@JvmField
val ARCHIVE = FileNameExtensionFilter("Archive Files (zip)", "zip")

@JvmField
val FONT = FileNameExtensionFilter("Font Files (ttf, otf)", "ttf", "otf")
}

0 comments on commit f7914a0

Please sign in to comment.