mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-19 19:39:30 -06:00
26 lines
845 B
Lua
26 lines
845 B
Lua
-- This is a blank scene that that just sets up the default menus/dasboard/keys, etc.
|
|
|
|
local propertyHelper = asset.require("util/property_helper")
|
|
|
|
-- Specifying which other assets should be loaded in this scene
|
|
asset.require("spice/base")
|
|
|
|
asset.require("dashboard/default_dashboard")
|
|
-- Load default key bindings applicable to most scenes
|
|
asset.require("util/default_keybindings")
|
|
|
|
-- Load web gui
|
|
local webGui = asset.require("util/webgui")
|
|
|
|
-- Scale the different UI components based on the operating system's DPI scaling value
|
|
asset.require("util/dpiscaling")
|
|
|
|
-- Load the images required for the launcher to show up
|
|
asset.require("util/launcher_images")
|
|
|
|
asset.onInitialize(function ()
|
|
webGui.setCefRoute("onscreen")
|
|
openspace.setDefaultGuiSorting()
|
|
openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
|
|
end)
|