Luca448 commited on
Commit
eeffe4f
·
1 Parent(s): 135cc21

Savestate: Randomize folder tilt direction on cinematic open and bump version to 1.8.4

Browse files
index.html CHANGED
@@ -51,7 +51,7 @@
51
  </head>
52
  <body class="dark-theme in-chat-view">
53
 
54
- <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.3</div>
55
 
56
  <!-- SVG Filters for Liquid Glass Refraction -->
57
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
 
51
  </head>
52
  <body class="dark-theme in-chat-view">
53
 
54
+ <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.4</div>
55
 
56
  <!-- SVG Filters for Liquid Glass Refraction -->
57
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
src/styles/global.css CHANGED
@@ -3819,7 +3819,7 @@ body.in-chat-view .tts-player-container {
3819
  .vault-folder-detail {
3820
  position: fixed !important;
3821
  z-index: 100;
3822
- transform: rotate(-12deg) !important;
3823
  transition: top 0.45s cubic-bezier(.22,.68,0,1.1),
3824
  left 0.45s cubic-bezier(.22,.68,0,1.1),
3825
  width 0.45s cubic-bezier(.22,.68,0,1.1),
 
3819
  .vault-folder-detail {
3820
  position: fixed !important;
3821
  z-index: 100;
3822
+ transform: rotate(var(--folder-rot, -12deg)) !important;
3823
  transition: top 0.45s cubic-bezier(.22,.68,0,1.1),
3824
  left 0.45s cubic-bezier(.22,.68,0,1.1),
3825
  width 0.45s cubic-bezier(.22,.68,0,1.1),
src/views/documents/documents-view.js CHANGED
@@ -442,6 +442,11 @@ export class DocumentsView {
442
  folderEl.style.left = rect.left + 'px';
443
  folderEl.style.width = rect.width + 'px';
444
  folderEl.style.zIndex = '100';
 
 
 
 
 
445
  folderEl.classList.remove('vault-folder-pressing');
446
  folderEl.classList.add('vault-folder-detail');
447
 
 
442
  folderEl.style.left = rect.left + 'px';
443
  folderEl.style.width = rect.width + 'px';
444
  folderEl.style.zIndex = '100';
445
+
446
+ // Set random rotation (-16 to -8 OR 8 to 16)
447
+ const randomRot = (Math.random() > 0.5 ? 1 : -1) * (8 + Math.random() * 8);
448
+ folderEl.style.setProperty('--folder-rot', `${randomRot}deg`);
449
+
450
  folderEl.classList.remove('vault-folder-pressing');
451
  folderEl.classList.add('vault-folder-detail');
452