Skip to content

Commit

Permalink
Silly but works
Browse files Browse the repository at this point in the history
  • Loading branch information
tewlwolow committed Sep 17, 2023
1 parent cc3a380 commit f03ada0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions 00 Core/MWSE/mods/tew/AURA/volumeSave.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ local function doRain()
else
return
end

local menu = tes3ui.findMenu(this.id_menu)
local sc = {}
sc.key = rainType
Expand Down Expand Up @@ -263,6 +263,7 @@ end
local function createWindow()

local menu = tes3ui.createMenu{ id = this.id_menu, dragFrame = true }
tes3ui.enterMenuMode(this.id_menu)

menu.text = "AURA"
menu.width = 430
Expand All @@ -283,8 +284,10 @@ local function createWindow()

updateHeader()

menu.width = 430
menu.height = 600
menu:updateLayout()
tes3ui.enterMenuMode(this.id_menu)
menu.visible = true
end

local function redraw()
Expand All @@ -305,9 +308,9 @@ end

function this.toggle(e)
if e.isShiftDown then

local menu = tes3ui.findMenu(this.id_menu)

if (not menu) then
this.cell = cellData.cell
this.config = mwse.loadConfig("AURA", defaults)
Expand Down

0 comments on commit f03ada0

Please sign in to comment.
  翻译: