mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-08 12:39:49 -06:00
Make code backwards compatible
This commit is contained in:
@@ -236,7 +236,7 @@ void WwtCommunicator::setBorderRadius(double radius) {
|
||||
|
||||
void WwtCommunicator::updateBorderColor() const {
|
||||
std::string script = fmt::format(
|
||||
"document.body.style.backgroundColor = 'rgb({},{},{})';",
|
||||
"setBackgroundColor('rgb({},{},{})');",
|
||||
_borderColor.x, _borderColor.y, _borderColor.z
|
||||
);
|
||||
executeJavascript(script);
|
||||
|
||||
Reference in New Issue
Block a user