Build Android APK 0.1.2
This commit is contained in:
1 parent
b46d251c9f
commit
cb5517e249
31 files changed
+62
-92
No files matched your search
@@ -2,7 +2,6 @@ import { useMemo } from 'react';
|
||||
import { IonButton, IonIcon } from '@ionic/react';
|
||||
import { trash } from 'ionicons/icons';
|
||||
import { BeatSelectionHint } from './BeatSelectionHint';
|
||||
import { SampleLegend } from './CategoryLegend';
|
||||
import { CircularTimeline } from './CircularTimeline';
|
||||
import { PitchControl } from './PitchControl';
|
||||
import { SoundRingSelector } from './SoundRingSelector';
|
||||
@@ -104,11 +103,6 @@ export function BeatLoopPanel({ sequencer, soundPalette }: BeatLoopPanelProps) {
|
||||
onChangePitch={sequencer.changeBeatPitch}
|
||||
/>
|
||||
</section>
|
||||
|
||||
<SampleLegend
|
||||
soundIds={soundIdsInLoop}
|
||||
colorBySoundId={soundPalette.colorBySoundId}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -214,7 +214,7 @@ export function CircularTimeline({
|
||||
onFocus={() => onSelectBeat(beat.id)}
|
||||
>
|
||||
<circle cx={point.x} cy={point.y} r="19" className="sound-point-hit-area" />
|
||||
<circle cx={point.x} cy={point.y} r="10" className="sound-point-face" />
|
||||
<circle cx={point.x} cy={point.y} r="12" className="sound-point-face" />
|
||||
<text
|
||||
x={point.x}
|
||||
y={point.y}
|
||||
|
||||
@@ -21,7 +21,7 @@ export function PitchControl({ selectedBeat, onChangePitch }: PitchControlProps)
|
||||
return (
|
||||
<div className="pitch-control">
|
||||
<div className="pitch-control-heading">
|
||||
<span>Pitch</span>
|
||||
<span>Pitch {selectedBeat.letter}</span>
|
||||
<output aria-live="polite">
|
||||
{getPitchLabel(pitchSemitones, instrument.pitchBaseMidi)}
|
||||
</output>
|
||||
|
||||
+3
-36
@@ -638,7 +638,7 @@ ion-content.app-content-studio {
|
||||
|
||||
.sound-point-letter {
|
||||
fill: var(--base);
|
||||
font: 700 9px var(--mono);
|
||||
font: 700 11px var(--mono);
|
||||
pointer-events: none;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
@@ -715,8 +715,7 @@ ion-content.app-content-studio {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.hint-swatch,
|
||||
.legend-swatch {
|
||||
.hint-swatch {
|
||||
flex: 0 0 auto;
|
||||
border-radius: 50%;
|
||||
}
|
||||
@@ -735,24 +734,6 @@ ion-content.app-content-studio {
|
||||
color: #7671a7;
|
||||
}
|
||||
|
||||
.sound-legend {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 8px 14px;
|
||||
padding-top: 17px;
|
||||
}
|
||||
|
||||
.legend-sample {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--soft);
|
||||
font-size: 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.category-letter-badge {
|
||||
display: inline-flex;
|
||||
width: 17px;
|
||||
@@ -766,16 +747,6 @@ ion-content.app-content-studio {
|
||||
font: 600 9px var(--mono);
|
||||
}
|
||||
|
||||
.legend-swatch {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
}
|
||||
|
||||
.legend-empty {
|
||||
color: var(--soft);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.audio-error {
|
||||
margin: 13px auto 0;
|
||||
color: #ffad8b;
|
||||
@@ -1024,7 +995,7 @@ ion-content.instrument-picker-content {
|
||||
--bar-background-active: var(--accent);
|
||||
--bar-height: 3px;
|
||||
--height: 28px;
|
||||
--knob-background: var(--accent);
|
||||
--knob-background: #fff;
|
||||
--knob-size: 12px;
|
||||
--padding-top: 2px;
|
||||
--padding-bottom: 2px;
|
||||
@@ -1392,10 +1363,6 @@ ion-content.instrument-picker-content {
|
||||
width: min(100%, max(180px, calc(100dvh - 390px)));
|
||||
}
|
||||
|
||||
.sound-legend {
|
||||
gap: 6px 10px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
|
||||
Reference in new issue
Block a user