mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-22 22:30:52 +01:00
Remove resolution option
This commit is contained in:
parent
e0651c6f38
commit
cf73afd43d
@ -209,7 +209,7 @@ const useRoomState = () =>
|
||||
{
|
||||
renderer.view.style.width = `${ width }px`;
|
||||
renderer.view.style.height = `${ height }px`;
|
||||
renderer.resolution = window.devicePixelRatio;
|
||||
//renderer.resolution = window.devicePixelRatio;
|
||||
renderer.resize(width, height);
|
||||
}
|
||||
|
||||
@ -269,7 +269,7 @@ const useRoomState = () =>
|
||||
|
||||
renderer.view.style.width = `${ width }px`;
|
||||
renderer.view.style.height = `${ height }px`;
|
||||
renderer.resolution = window.devicePixelRatio;
|
||||
//renderer.resolution = window.devicePixelRatio;
|
||||
renderer.resize(width, height);
|
||||
|
||||
background.width = width;
|
||||
|
Loading…
Reference in New Issue
Block a user