Skip to content

Commit

Permalink
change some defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyvest committed Mar 11, 2024
1 parent 1fb7352 commit f2e232f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod_name = Chatting
mod_id = chatting
mod_version = 1.5.3
mod_version = 1.6.0
mod_archives_name = Chatting

# Gradle Configuration -- DO NOT TOUCH THESE VALUES.
Expand Down
6 changes: 5 additions & 1 deletion src/main/kotlin/org/polyfrost/chatting/chat/ChatWindow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.polyfrost.chatting.Chatting
import org.polyfrost.chatting.config.ChattingConfig
import org.polyfrost.chatting.utils.*

class ChatWindow : BasicHud(true, 2f, 1080 - 27f - 45f) {
class ChatWindow : BasicHud(true, 2f, 1080 - 27f - 45f - 12f) {

@Exclude
private val exampleList: List<ChatLine> = listOf(
Expand Down Expand Up @@ -67,6 +67,10 @@ class ChatWindow : BasicHud(true, 2f, 1080 - 27f - 45f) {
var unfocusedHeight = 90
get() = field.coerceIn(20, 2160)

init {
showInDebug = true
}


override fun draw(matrices: UMatrixStack?, x: Float, y: Float, scale: Float, example: Boolean) {
if (!example) return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ object ChattingConfig : Config(
var chatPeak = false

@Switch(
name = "Scrolling",
name = "Chat Peak Scrolling",
)
var peakScrolling = false
var peakScrolling = true

@KeyBind(
name = "Peak KeyBind"
Expand All @@ -79,7 +79,7 @@ object ChattingConfig : Config(
left = "Held",
right = "Toggle"
)
var peakMode = true
var peakMode = false

@Switch(
name = "Smooth Chat Messages",
Expand Down Expand Up @@ -300,7 +300,7 @@ object ChattingConfig : Config(
@Info(
category = "Tabs",
type = InfoType.INFO,
text = "You can use shift to select multiple tabs, as well as ctrl + tab to switch to the next tab",
text = "You can use the SHIFT key to select multiple tabs, as well as CTRL + TAB to switch to the next tab.",
size = 2
)
@Transient
Expand Down

0 comments on commit f2e232f

Please sign in to comment.