mirror of
https://github.com/overte-org/overte.git
synced 2025-07-29 02:10:09 +02:00
Clean up code
Fix indentations, whitespace, and layout
This commit is contained in:
parent
f1543a9d36
commit
6a66351e7f
1 changed files with 243 additions and 244 deletions
|
@ -115,7 +115,7 @@ function createNotification(text){
|
||||||
color: textColor,
|
color: textColor,
|
||||||
backgroundColor: backColor,
|
backgroundColor: backColor,
|
||||||
alpha: backgroundAlpha,
|
alpha: backgroundAlpha,
|
||||||
topargin: topMargin,
|
topMargin: topMargin,
|
||||||
leftMargin: leftMargin,
|
leftMargin: leftMargin,
|
||||||
font: {size: fontSize},
|
font: {size: fontSize},
|
||||||
text: text,
|
text: text,
|
||||||
|
@ -124,8 +124,8 @@ function createNotification(text){
|
||||||
var buttonProperties = {
|
var buttonProperties = {
|
||||||
x: buttonLocationX,
|
x: buttonLocationX,
|
||||||
y: bLevel,
|
y: bLevel,
|
||||||
width: 15.0,//37
|
width: 15.0,
|
||||||
height: 15.0,//35
|
height: 15.0,
|
||||||
subImage: { x: 0, y: 0, width: 10, height: 10 },
|
subImage: { x: 0, y: 0, width: 10, height: 10 },
|
||||||
imageURL: "http://hifi-public.s3.amazonaws.com/images/close-small-light.svg",
|
imageURL: "http://hifi-public.s3.amazonaws.com/images/close-small-light.svg",
|
||||||
color: { red: 255, green: 255, blue: 255},
|
color: { red: 255, green: 255, blue: 255},
|
||||||
|
@ -365,7 +365,6 @@ var working = firstOut
|
||||||
times.splice(firstOut, 1);
|
times.splice(firstOut, 1);
|
||||||
heights.splice(firstOut, 1);
|
heights.splice(firstOut, 1);
|
||||||
myAlpha.splice(firstOut,1);
|
myAlpha.splice(firstOut,1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onMuteStateChanged();
|
onMuteStateChanged();
|
||||||
|
|
Loading…
Reference in a new issue