mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-13 12:46:11 +01:00
feat: better fullscreen
This commit is contained in:
1 parent
edb9104d77
commit
b9c5c3c931
5 files changed
+378
-336
No files matched your search
@@ -8,7 +8,11 @@ import { mutateDuel, useDuel } from '../../../../../../stores/duel';
|
||||
import { useTankopediaPersistent } from '../../../../../../stores/tankopedia';
|
||||
import { QuickEquipmentButton } from './components/QuickEquipmentButton';
|
||||
|
||||
export function RotationInputs() {
|
||||
interface RotationInputsProps {
|
||||
isFullScreen?: boolean;
|
||||
}
|
||||
|
||||
export function RotationInputs({ isFullScreen }: RotationInputsProps) {
|
||||
const protagonist = useDuel((state) => state.protagonist!);
|
||||
const awaitedModelDefinitions = use(modelDefinitions);
|
||||
const turretYawInput = useRef<HTMLInputElement>(null);
|
||||
@@ -41,7 +45,7 @@ export function RotationInputs() {
|
||||
width: 'calc(100% - 16px)',
|
||||
position: 'absolute',
|
||||
left: 8,
|
||||
bottom: 8,
|
||||
bottom: isFullScreen ? 80 : 8,
|
||||
}}
|
||||
gap="4"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user