optimization and stylizing

This commit is contained in:
2026-04-26 19:29:34 +07:00
parent 2664f00741
commit 865f48964a
3 changed files with 78 additions and 58 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ export const NetrunnerMatrix: React.FC<NetrunnerMatrixProps> = ({
const isLowQuality = isMobile || isWeakHardware;
// На слабом ПК и телефонах рендерим 75% от разрешения экрана
const pixelScale = isLowQuality ? 0.75 : 1.0;
const pixelScale = 1;
// ----------------------------------------------
const logicalWidth = container.clientWidth;
@@ -127,7 +127,7 @@ export const NetrunnerMatrix: React.FC<NetrunnerMatrixProps> = ({
const isMob = width <= 768;
const lowQual = isMob || isWeakHardware;
const pScale = lowQual ? 0.75 : 1.0;
const pScale = 1;
workerRef.current?.postMessage({
type: "RESIZE",