From: Daniel Karbach
Date: Wed, 21 May 2025 09:31:39 +0000 (+0200)
Subject: lil ally
X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=43d2a0910ba315fa417c400dc46d5a68f68b7fce;p=alttp.git
lil ally
---
diff --git a/resources/js/app/Footer.js b/resources/js/app/Footer.js
index 54af553..91b0973 100644
--- a/resources/js/app/Footer.js
+++ b/resources/js/app/Footer.js
@@ -10,7 +10,7 @@ const Footer = () => {
const { t } = useTranslation();
- return
: null}
- {tournament.type === 'open-async' && round.results && round.results.length ?
- {t('rounds.numberOfResults', { count: round.results.length })}
- : null}
-
-
- {mayEditRound(user, tournament, round) ?
-
- : null}
- {mayViewProtocol(user, tournament, round) ?
-
- : null}
- {mayDeleteRound(user, tournament, round) ?
-
+
+ {tournament.type === 'open-async' && round.results && round.results.length ?
+
{t('rounds.numberOfResults', { count: round.results.length })}
: null}
+
+
+ {mayEditRound(user, tournament, round) ?
+
+ : null}
+ {mayViewProtocol(user, tournament, round) ?
+
+ : null}
+ {mayDeleteRound(user, tournament, round) ?
+
+ : null}
+
diff --git a/resources/js/components/zootr/MixedPoolsTracker.js b/resources/js/components/zootr/MixedPoolsTracker.js
index 8e3a7e1..3a62bdb 100644
--- a/resources/js/components/zootr/MixedPoolsTracker.js
+++ b/resources/js/components/zootr/MixedPoolsTracker.js
@@ -2651,14 +2651,9 @@ const MixedPoolsTracker = () => {
return options;
}, []);
- const warpTargets = React.useMemo(() => {
- const targets = [];
- return targets;
- }, []);
-
const context = React.useMemo(() => ({
- connections, entrances, setConnection, warpTargets,
- }), [connections, entrances, setConnection, warpTargets]);
+ connections, entrances, setConnection,
+ }), [connections, entrances, setConnection]);
const superGroups = React.useMemo(() => {
const sg = [
@@ -2725,8 +2720,11 @@ const MixedPoolsTracker = () => {
}, []);
const connectors = React.useMemo(() => {
- return [connections, maps];
- }, []);
+ const cs = [];
+ Object.entries(connections).forEach(([from, to]) => {
+ });
+ return cs;
+ }, [connections, maps]);
return
diff --git a/resources/sass/results.scss b/resources/sass/results.scss
index f569bdc..b1ef053 100644
--- a/resources/sass/results.scss
+++ b/resources/sass/results.scss
@@ -29,6 +29,9 @@
box-shadow: none;
top: 0.5ex;
}
+ &:focus {
+ outline: medium dashed $light;
+ }
.time {
min-width: 9ex;
diff --git a/resources/sass/rounds.scss b/resources/sass/rounds.scss
index 907d6e9..2ff6221 100644
--- a/resources/sass/rounds.scss
+++ b/resources/sass/rounds.scss
@@ -16,6 +16,8 @@
}
.info {
+ display: flex;
+ flex-direction: column;
padding-right: 1rem;
min-width: 13em;
@@ -34,6 +36,10 @@
}
}
+ .bottom-half {
+ margin-top: auto;
+ }
+
.seed-code, .btn, .rolled-by {
margin-bottom: 1ex;
}