diff --git a/src/components/views/WorkshopView.tsx b/src/components/views/WorkshopView.tsx index 6eb19f4..d53d03e 100644 --- a/src/components/views/WorkshopView.tsx +++ b/src/components/views/WorkshopView.tsx @@ -171,10 +171,10 @@ const WorkshopView = memo(function WorkshopView() { transition={{ duration: config.animationsEnabled ? 0.3 : 0 }} className="flex flex-col items-center w-full max-w-5xl relative font-['Mojangles'] text-white select-none outline-none focus:outline-none" > -
+ />*/}
@@ -204,6 +204,7 @@ const WorkshopView = memo(function WorkshopView() { ); })}
+ {!isSearchTab && ( Entries: {loading ? '...' : filteredItems.length} @@ -211,7 +212,7 @@ const WorkshopView = memo(function WorkshopView() { )}
- +
@@ -248,7 +246,7 @@ const WorkshopView = memo(function WorkshopView() { placeholder="Search all workshop entries..." spellCheck={false} autoFocus - className="bg-transparent border-none outline-none text-white text-base mc-text-shadow w-full placeholder-[#555] font-['Mojangles']" + className="bg-transparent border-none outline-none text-white text-base mc-text-shadow w-full placeholder-white font-['Mojangles']" /> {search && (
@@ -409,7 +407,7 @@ function PackageModal({ pkg, onClose, playPressSound }: { const [showInstall, setShowInstall] = useState(false); useEffect(() => { - if (showInstall) return; // let install modal handle keys + if (showInstall) return; //neo: let install modal handle keys const handleKeyDown = (e: KeyboardEvent) => { if (e.key === 'Escape' || e.key === 'Backspace') { onClose(); @@ -553,7 +551,7 @@ function InstallModal({ pkg, onClose, playPressSound }: { if (e.key === 'Escape' || e.key === 'Backspace' || e.key === 'Enter') onClose(); return; } - + if (e.key === 'Escape' || e.key === 'Backspace') { onClose(); } else if (e.key === 'ArrowUp') {