diff --git a/assets/css/browser.css b/assets/css/browser.css
index 7a48670..1df0dac 100644
--- a/assets/css/browser.css
+++ b/assets/css/browser.css
@@ -186,7 +186,7 @@ h1 {
h2 {
font-size: 8vh;
-webkit-text-stroke-width: 0.265vh;
- background: -webkit-linear-gradient(#e28000, #ffee44);
+ background: -webkit-linear-gradient(#FDA00C, #FFE348);
background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
diff --git a/assets/loading.png b/assets/loading.png
index da4fc25..dfedcd2 100644
Binary files a/assets/loading.png and b/assets/loading.png differ
diff --git a/assets/loading_old.png b/assets/loading_old.png
new file mode 100644
index 0000000..da4fc25
Binary files /dev/null and b/assets/loading_old.png differ
diff --git a/html/level.html b/html/level.html
index f1d1ae0..f023823 100644
--- a/html/level.html
+++ b/html/level.html
@@ -110,15 +110,15 @@
-
-
[[DOWNLOADS]]
-
-
[[LIKES]]
-
-
[[LENGTH]]
-
-
[[ORBS]]
+
+
+
[[DOWNLOADS]]
+
+
[[LIKES]]
+
+
[[LENGTH]]
+
+
[[ORBS]]
@@ -312,11 +312,13 @@ if (window.location.pathname == "/weekly") {
}
$(window).on('load', function() {
- if ($('#songname')[0].scrollWidth > $('#songBox')[0].scrollWidth) {
- let overflow = ($('#songname')[0].scrollWidth - $('#songBox')[0].scrollWidth) * 0.007
+ let boxWidth = $('#songBox').width()
+ let nameWidth = $('#songname')[0].scrollWidth
+ if (nameWidth > boxWidth) {
+ let overflow = (nameWidth - boxWidth) * 0.007
if (overflow > 3) overflow = 3
$('#songname').addClass('smaller').css('font-size', (6 - (overflow)) + 'vh')
- }
+ }
});
let savedLevels = JSON.parse(localStorage.getItem('saved') || '[]');
diff --git a/iconkit/icon.js b/iconkit/icon.js
index 8ea443c..f0d4be7 100644
--- a/iconkit/icon.js
+++ b/iconkit/icon.js
@@ -459,7 +459,6 @@ class IconPart {
class IconLayer {
constructor(path, color, colorType, isNew) {
let loadedTexture = isNew ? loadedNewIcons[path] : loader.resources[path]
- if (colorType == "u") console.log(isNew)
this.offsets = iconData.gameSheet[path] || { spriteOffset: [0, 0] }
this.sprite = new PIXI.Sprite(loadedTexture ? isNew ? loadedTexture : loadedTexture.texture : PIXI.Texture.EMPTY)
diff --git a/misc/global.js b/misc/global.js
index 18bc2ab..653b73a 100644
--- a/misc/global.js
+++ b/misc/global.js
@@ -102,7 +102,6 @@ function buildIcon(elements, current) {
loadIconLayers(iconConfig.form, iconConfig.id, function(a, b, c) {
if (c) iconConfig.new = true
new Icon(iconConfig, function(icon) {
- console.log(icon)
let dataURL = icon.toDataURL()
let titleStr = `${Object.values(iconData.forms).find(x => x.form == icon.form).name} ${icon.id}`
if (cacheID) renderedIcons[cacheID] = {name: titleStr, data: dataURL}