Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GeoVistoogsi
AR
Commits
20aca077
Commit
20aca077
authored
2 months ago
by
Cantuerk
Browse files
Options
Download
Email Patches
Plain Diff
Update public/style.css, public/ar_main.js
parent
6d03f598
master
1 merge request
!190
Update public/style.css, public/ar_main.js
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/ar_main.js
+4
-4
public/ar_main.js
public/style.css
+6
-9
public/style.css
with
10 additions
and
13 deletions
+10
-13
public/ar_main.js
+
4
-
4
View file @
20aca077
...
...
@@ -361,18 +361,18 @@ function openMoveMenu() {
Verschiebungsgröße: <span id="move-delta-display">
${
moveDelta
.
toFixed
(
2
)}
</span>
<input type="range" min="0.01" max="1.0" step="0.01" value="
${
moveDelta
}
" onchange="updateMoveDelta(this.value)">
</label>
<div
style="display: flex; gap: 4px;
">
<div
class="button-row
">
<div class="control-button" id="left" onclick="moveModelDynamic('x', -moveDelta)">
<img src="assets/icons/left-arrow.png" alt="
Up
" />
<img src="assets/icons/left-arrow.png" alt="
Left
" />
</div>
<div class="control-button" id="right" onclick="moveModelDynamic('x', moveDelta)">
<img src="assets/icons/right-arrow.png" alt="
Up
" />
<img src="assets/icons/right-arrow.png" alt="
Right
" />
</div>
<div class="control-button" id="up" onclick="moveModelDynamic('z', -moveDelta)">
<img src="assets/icons/up-arrow.png" alt="Up" />
</div>
<div class="control-button" id="down" onclick="moveModelDynamic('z', moveDelta)">
<img src="assets/icons/down-arrow.png" alt="
Up
" />
<img src="assets/icons/down-arrow.png" alt="
Down
" />
</div>
</div>
<button onclick="closeDynamicMenu()">Zurück</button>
...
...
This diff is collapsed.
Click to expand it.
public/style.css
+
6
-
9
View file @
20aca077
...
...
@@ -240,15 +240,15 @@ button:active {
/* Style für Move Menu */
#move-menu
{
.button-row
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
gap
:
4px
;
justify-content
:
center
;
gap
:
10px
;
align-items
:
center
;
}
.control-button
{
flex
:
0
0
auto
;
width
:
40px
;
height
:
40px
;
border
:
none
;
...
...
@@ -261,13 +261,10 @@ button:active {
.control-button
img
{
width
:
40px
;
height
:
40px
;
object-fit
:
contain
;
}
.control-button
:active
{
background-color
:
#0056b3
;
transform
:
scale
(
0.95
);
}
#button-controls
.spacer
{
width
:
40px
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets