|
@@ -215,15 +215,15 @@ function toggleToolbox(%make)
|
|
function BackgroundColorSelectList::onSelect(%this)
|
|
function BackgroundColorSelectList::onSelect(%this)
|
|
{
|
|
{
|
|
// Fetch the index.
|
|
// Fetch the index.
|
|
- $activeSceneColor = %this.getSelected();
|
|
|
|
|
|
+ $activeBackgroundColor = %this.getSelected();
|
|
|
|
|
|
// Finish if the sandbox scene is not available.
|
|
// Finish if the sandbox scene is not available.
|
|
if ( !isObject(SandboxScene) )
|
|
if ( !isObject(SandboxScene) )
|
|
return;
|
|
return;
|
|
|
|
|
|
// Set the scene color.
|
|
// Set the scene color.
|
|
- SandboxScene.BackgroundColor = getStockColorName($activeSceneColor);
|
|
|
|
- SandboxScene.UseBackgroundColor = true;
|
|
|
|
|
|
+ Canvas.BackgroundColor = getStockColorName($activeBackgroundColor);
|
|
|
|
+ Canvas.UseBackgroundColor = true;
|
|
}
|
|
}
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//-----------------------------------------------------------------------------
|
|
@@ -296,8 +296,8 @@ function updateToolboxOptions()
|
|
return;
|
|
return;
|
|
|
|
|
|
// Set the scene color.
|
|
// Set the scene color.
|
|
- SandboxScene.BackgroundColor = getStockColorName($activeSceneColor);
|
|
|
|
- SandboxScene.UseBackgroundColor = true;
|
|
|
|
|
|
+ Canvas.BackgroundColor = getStockColorName($activeBackgroundColor);
|
|
|
|
+ Canvas.UseBackgroundColor = true;
|
|
|
|
|
|
// Set option.
|
|
// Set option.
|
|
if ( $pref::Sandbox::metricsOption )
|
|
if ( $pref::Sandbox::metricsOption )
|