Opaque white background
This commit is contained in:
1 parent
710a79afbb
commit
bf0a7789cf
3 files changed
+8
-12
No files matched your search
+6
-10
@@ -111,10 +111,6 @@ function newAnimation() {
|
||||
|
||||
if (INFO_LOG === true) { logger.write("[INFO] animationLoop -> Entering function."); }
|
||||
|
||||
/* First thing is to clear the actual canvas */
|
||||
|
||||
clearBrowserCanvas();
|
||||
|
||||
if (window.canvasApp.visible === true) {
|
||||
|
||||
/* We set the canvas to its normal width and height */
|
||||
@@ -122,6 +118,10 @@ function newAnimation() {
|
||||
browserCanvas.width = window.innerWidth;
|
||||
browserCanvas.height = window.innerHeight - window.canvasApp.topMargin;
|
||||
|
||||
/* First thing is to clear the actual canvas */
|
||||
|
||||
clearBrowserCanvas();
|
||||
|
||||
/* We loop through the callback functions collections and execute them all. */
|
||||
|
||||
callBackFunctions.forEach(function (callBackFunction) {
|
||||
@@ -152,18 +152,14 @@ function newAnimation() {
|
||||
|
||||
if (INFO_LOG === true) { logger.write("[INFO] clearBrowserCanvas -> Entering function."); }
|
||||
|
||||
browserCanvasContext.clearRect(0, 0, browserCanvas.width, browserCanvas.height);
|
||||
|
||||
/* Set the background. */
|
||||
|
||||
browserCanvasContext.beginPath();
|
||||
|
||||
browserCanvasContext.rect(0, 0, browserCanvas.width, browserCanvas.height);
|
||||
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.WHITE + ', ' + 1 + ')';
|
||||
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.WHITE + ', 1)';
|
||||
|
||||
browserCanvasContext.closePath();
|
||||
|
||||
browserCanvasContext.fill();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -109,7 +109,7 @@ function newSplashScreen() {
|
||||
/* Second the % of Advance. */
|
||||
|
||||
let label = '' + Math.trunc(stepsInitializationCounter) + ' %';
|
||||
stepsInitializationCounter = stepsInitializationCounter + 0.1;
|
||||
stepsInitializationCounter = stepsInitializationCounter + 0.5;
|
||||
|
||||
if (stepsInitializationCounter > 99) {
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
executingAt: 'Master App',
|
||||
visible: true,
|
||||
topMargin: 85,
|
||||
urlPrefix: 'https://develop.advancedalgos.net/' /* 'http://localhost:1337/' */ /* 'https://develop.advancedalgos.net/' */
|
||||
urlPrefix: 'http://localhost:1337/' /* 'http://localhost:1337/' */ /* 'https://develop.advancedalgos.net/' */
|
||||
};
|
||||
|
||||
loadAdvancedAlgosPlatform();
|
||||
|
||||
Reference in new issue
Block a user