optimization and stylizing
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user