adapted tour and controls
This commit is contained in:
parent
c20d747921
commit
b99f018891
@ -45,9 +45,8 @@ do
|
||||
northeast = "600 300 0",
|
||||
southwest = "-600 -300 0",
|
||||
|
||||
-- Used by the Diana and Wini cards referencing the bottom-right global controls, moved a little
|
||||
-- closer to them
|
||||
southeast = "730 -365 0"
|
||||
-- Used by the cards referencing the bottom-right panel, moved a little closer to them
|
||||
southeast = "675 -365 0"
|
||||
}
|
||||
|
||||
-- Tracks the current state of the tours. Keyed by player color to keep each player's tour
|
||||
@ -198,10 +197,9 @@ do
|
||||
end
|
||||
end
|
||||
|
||||
-- Creates a small, transparent object which the camera will be attached to in order to move the
|
||||
-- user's view around the table. This should be called only at the beginning of the tour. Once
|
||||
-- creation is complete the user's camera will be attached to the hook and the first card will be
|
||||
-- shown.
|
||||
-- Creates a small, transparent object which the camera will be attached to in order to move the user's view
|
||||
-- around the table. This should be called only at the beginning of the tour. Once creation is complete
|
||||
-- the user's camera will be attached to the hook and the first card will be shown.
|
||||
---@param playerColor string Player color to create the hook for
|
||||
internal.createCameraHook = function(playerColor)
|
||||
local hookData = {
|
||||
|
@ -5,15 +5,15 @@
|
||||
color="clear"/>
|
||||
</Defaults>
|
||||
|
||||
<!-- Buttons at the bottom right (height: n * 37 - 2) -->
|
||||
<!-- Buttons at the bottom right (height: n * width + spacing) -->
|
||||
<VerticalLayout visibility="Admin"
|
||||
color="#000000"
|
||||
outlineSize="1 1"
|
||||
outline="#303030"
|
||||
rectAlignment="LowerRight"
|
||||
width="35"
|
||||
height="72"
|
||||
offsetXY="-1 120"
|
||||
width="38"
|
||||
height="78"
|
||||
offsetXY="-1 123"
|
||||
spacing="2">
|
||||
<Button class="navbar"
|
||||
icon="devourer"
|
||||
@ -31,8 +31,8 @@
|
||||
outlineSize="1 1"
|
||||
outline="#303030"
|
||||
rectAlignment="LowerRight"
|
||||
width="35"
|
||||
height="35"
|
||||
width="38"
|
||||
height="38"
|
||||
offsetXY="-1 85">
|
||||
<Button class="navbar"
|
||||
icon="NavigationOverlayIcon"
|
||||
|
Loading…
Reference in New Issue
Block a user