Skip to content

Commit

Permalink
Merge pull request #118 from Lyzev/117-suggestion-water-mark-window-w…
Browse files Browse the repository at this point in the history
…idth

implemented suggestion
  • Loading branch information
Lyzev authored Jun 7, 2024
2 parents eac84dd + 080fb00 commit 441c7a6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import dev.lyzev.api.settings.Setting.Companion.neq
import dev.lyzev.schizoid.feature.IFeature
import dev.lyzev.schizoid.feature.features.module.ModuleToggleableRenderImGuiContent
import imgui.ImGui.*
import imgui.flag.ImGuiWindowFlags

object ModuleToggleableWaterMark :
ModuleToggleableRenderImGuiContent(
Expand Down Expand Up @@ -44,7 +45,8 @@ object ModuleToggleableWaterMark :

override fun renderImGuiContent() {
LEAGUE_SPARTAN_EXTRA_BOLD.begin()
dummy(115f, 0f)
if (windowFlags and ImGuiWindowFlags.NoTitleBar == 0)
dummy(115f, 0f)
sameLine(15f)
if (waterMarkMath) {
if (time + interval < System.currentTimeMillis()) {
Expand Down

0 comments on commit 441c7a6

Please sign in to comment.