Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midiviz
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
midiviz
Commits
34b8704d
Commit
34b8704d
authored
Sep 28, 2026
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devcon: black page, gradient-filled PARVAGUES, D1-D8 faders walk the gradient
parent
430d10a5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
midiviz.py
midiviz.py
+0
-0
test_midiviz.py
tests/test_midiviz.py
+9
-9
No files found.
midiviz.py
View file @
34b8704d
This diff is collapsed.
Click to expand it.
tests/test_midiviz.py
View file @
34b8704d
...
...
@@ -1167,17 +1167,17 @@ def test_devcon_sets_its_digits_in_jersey_and_the_ribbon_keeps_its_grid():
assert
"Jersey"
not
in
w
.
f_main
.
family
()
and
w
.
_hex_mono
is
True
def
test_only_devcon_wears_the_hero_
plate_and_it_fills_its_span
():
def
test_only_devcon_wears_the_hero_
and_its_faders_walk_the_gradient
():
import
pytest
mv
,
w
=
_themed
(
"devcon"
)
if
mv
is
None
:
pytest
.
skip
(
"no Qt available"
)
assert
[
n
for
n
,
th
in
mv
.
THEMES
.
items
()
if
th
.
word_plate
]
==
[
"devcon"
]
if
w
.
_jersey_id
<
0
:
pytest
.
skip
(
"Jersey not vendored on this checkout"
)
pm
=
w
.
_word_pixmap
(
300.0
,
60.0
)
assert
(
pm
.
width
(),
pm
.
height
())
==
(
300
,
60
),
"the plate is the span, exactly"
# a theme switch must not reuse the plate as the neon word
assert
[
n
for
n
,
th
in
mv
.
THEMES
.
items
()
if
th
.
word_hero
]
==
[
"devcon"
]
assert
[
n
for
n
,
th
in
mv
.
THEMES
.
items
()
if
th
.
fader_hue
]
==
[
"devcon"
]
# eight faders, eight different hottest inks: all up is the whole sweep
assert
len
(
w
.
fader_lut
)
==
8
and
len
(
w
.
fader_tint
)
==
8
assert
len
({
lut
[
15
]
.
rgba
()
for
lut
in
w
.
fader_lut
})
==
8
for
lut
in
w
.
fader_lut
:
assert
len
(
lut
)
==
mv
.
LEVELS
w
.
set_theme
(
"dark"
,
save
=
False
)
neon
=
w
.
_word_pixmap
(
300.0
,
60.0
)
assert
neon
is
not
pm
assert
w
.
fader_lut
==
[],
"a theme switch must drop the gradient faders"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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