Cool. :) The thing to keep in mind is that this is also active for the players. If they don't like the one column sidebar, we can put a little bit of code in to only do this for the GM.
Doh. I didn't think of that. I love the extensibility; what's the LUA for isolating this to just the DM?
February 12th, 2019, 01:10
MacDork
Quote:
Originally Posted by damned
You might also look at the Curse of Strahd theme - it uses an alternative button representation.
Excellent -- thank you!
February 12th, 2019, 06:09
Trenloe
Quote:
Originally Posted by MacDork
Doh. I didn't think of that. I love the extensibility; what's the LUA for isolating this to just the DM?
Change the code in OnecolumnSidebar.lua to:
Code:
function onInit()
if User.isHost() then
DesktopManager.setMaxDockColumns(1);
end
end
You can remove the Debug command I left in from testing.
February 12th, 2019, 10:28
MacDork
Quote:
Originally Posted by Trenloe
Change the code in OnecolumnSidebar.lua to:
Code:
function onInit()
if User.isHost() then
DesktopManager.setMaxDockColumns(1);
end
end
You can remove the Debug command I left in from testing.