Make workspaces icons randomly use only non-flag emojis

This commit is contained in:
zabojeb
2025-01-05 23:34:49 +03:00
parent 75cbb0eeb2
commit f20b70c35d

View File

@@ -621,7 +621,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
let parentPanel = document.getElementById('PanelUI-zen-workspaces-multiview');
// randomly select an icon
let icon = this._kIcons[Math.floor(Math.random() * this._kIcons.length)];
let icon = this._kIcons[Math.floor(Math.random() * (this._kIcons.length - 257))];
this._workspaceCreateInput.textContent = '';
this._workspaceCreateInput.value = '';
this._workspaceCreateInput.setAttribute('data-initial-value', '');