diff --git a/src/App.scss b/src/App.scss index 474a2f07..2a93b1ff 100644 --- a/src/App.scss +++ b/src/App.scss @@ -26,8 +26,8 @@ $avatar-editor-height: 374px; $catalog-width: 620px; $catalog-height: 400px; -$inventory-width: 485px; -$inventory-height: 315px; +$inventory-width: 528px; +$inventory-height: 320px; $navigator-width: 400px; $navigator-height: 420px; diff --git a/src/App.tsx b/src/App.tsx index 439fbc5d..9d050bd9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -125,7 +125,7 @@ export const App: FC<{}> = props => } return ( -
+
{ (!isReady || isError) && } diff --git a/src/api/nitro/room/DispatchMouseEvent.ts b/src/api/nitro/room/DispatchMouseEvent.ts index 762e0dda..6d18f2e8 100644 --- a/src/api/nitro/room/DispatchMouseEvent.ts +++ b/src/api/nitro/room/DispatchMouseEvent.ts @@ -47,6 +47,8 @@ export function DispatchMouseEvent(roomId: number, canvasId: number, event: Mous break; case MouseEventType.MOUSE_UP: break; + case MouseEventType.RIGHT_CLICK: + break; default: return; } diff --git a/src/index.scss b/src/index.scss index cbfa7106..d3842a6a 100644 --- a/src/index.scss +++ b/src/index.scss @@ -14,4 +14,8 @@ body { image-rendering: -moz-crisp-edges; } +img { + object-fit: none; +} + @import './App';