mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Allow custom color for 3D brush outline
This commit is contained in:
parent
9d76ecc04c
commit
c559aba202
@ -94,6 +94,7 @@
|
||||
--color-outline: var(--color-accent);
|
||||
--color-gizmohover: var(--color-outline);
|
||||
--color-ground: var(--color-back);
|
||||
--color-brush-outline: #ffffff;
|
||||
--color-axis-x: #fd3043;
|
||||
--color-axis-y: #26ec45;
|
||||
--color-axis-z: #2d5ee8;
|
||||
|
@ -385,6 +385,7 @@ const CustomTheme = {
|
||||
update(gizmo_colors.gizmo_hover, '--color-gizmohover');
|
||||
update(Canvas.outlineMaterial.color, '--color-outline');
|
||||
update(Canvas.ground_plane.material.color, '--color-ground');
|
||||
update(Canvas.brush_outline.material.color, '--color-brush-outline');
|
||||
|
||||
Canvas.pivot_marker.children.forEach(c => {
|
||||
c.updateColors();
|
||||
|
Loading…
Reference in New Issue
Block a user