Projekt

Obecné

Profil

« Předchozí | Další » 

Revize f4af30c8

Přidáno uživatelem Fantič před více než 1 rok

re #10895: ItemView redesign, refactor

Zobrazit rozdíly:

src/components/plan/CastlePlanView.tsx
292 292
        >
293 293
            {/* control panel */}
294 294
            <Flex direction="row" alignItems="center" justify="flex-end" style={{ height: 50, width: 100, top: fullScreenMode ? 10 : 0, right: fullScreenMode ? 20 : 15, position: "absolute", zIndex: 5 }}>
295
                <Pressable padding={1.5} backgroundColor={"#654B07"} borderRadius={5} marginRight={selectedRoom ? 1 : -2} onPress={handleFullScreenPressed}>
295
                <Pressable padding={1.5} backgroundColor={"primary"} borderRadius={5} marginRight={selectedRoom ? 1 : -2} onPress={handleFullScreenPressed}>
296 296
                    <FullscreenIcon color="white" />
297 297
                </Pressable>
298 298
                {
299 299
                    selectedRoom &&
300
                    <Pressable padding={1.5} backgroundColor={"#654B07"} borderRadius={5} marginRight={-2} onPress={() => { zoomToRoom(selectedRoom) }}>
300
                    <Pressable padding={1.5} backgroundColor={"primary"} borderRadius={5} marginRight={-2} onPress={() => { zoomToRoom(selectedRoom) }}>
301 301
                        <ExitfullscreenIcon color="white" />
302 302
                    </Pressable>
303 303
                }

Také k dispozici: Unified diff