mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Add icon for bezier keyframes
Fix icon for animation controller panel
This commit is contained in:
parent
de7d3f58e8
commit
9ee5a85c11
@ -121,8 +121,8 @@
|
||||
font-family: 'icomoon';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('../font/icomoon.ttf?ulxgq0') format('truetype'),
|
||||
url('../font/icomoon.woff?ulxgq0') format('woff');
|
||||
src: url('../font/icomoon.ttf?wxwksw') format('truetype'),
|
||||
url('../font/icomoon.woff?wxwksw') format('woff');
|
||||
}
|
||||
|
||||
/*Icons*/
|
||||
@ -142,131 +142,134 @@
|
||||
}
|
||||
|
||||
|
||||
.icon-keyframe_bezier:before {
|
||||
content: "\e92a";
|
||||
}
|
||||
.icon-collada:before {
|
||||
content: "\e926";
|
||||
content: "\e926";
|
||||
}
|
||||
.icon-fbx:before {
|
||||
content: "\e927";
|
||||
content: "\e927";
|
||||
}
|
||||
.icon-format_bedrock_block:before {
|
||||
content: "\e928";
|
||||
content: "\e928";
|
||||
}
|
||||
.icon-format_bedrock_entity:before {
|
||||
content: "\e929";
|
||||
content: "\e929";
|
||||
}
|
||||
.icon-keyframe:before {
|
||||
content: "\e924";
|
||||
content: "\e924";
|
||||
}
|
||||
.icon-keyframe_discontinuous:before {
|
||||
content: "\e925";
|
||||
content: "\e925";
|
||||
}
|
||||
.icon-gizmo:before {
|
||||
content: "\e922";
|
||||
content: "\e922";
|
||||
}
|
||||
.icon-gltf:before {
|
||||
content: "\e923";
|
||||
content: "\e923";
|
||||
}
|
||||
.icon-format_bedrock_legacy:before {
|
||||
content: "\e91a";
|
||||
content: "\e91a";
|
||||
}
|
||||
.icon-crossbow:before {
|
||||
content: "\e91b";
|
||||
content: "\e91b";
|
||||
}
|
||||
.icon-format_bedrock:before {
|
||||
content: "\e91c";
|
||||
content: "\e91c";
|
||||
}
|
||||
.icon-format_block:before {
|
||||
content: "\e91d";
|
||||
content: "\e91d";
|
||||
}
|
||||
.icon-format_free:before {
|
||||
content: "\e91e";
|
||||
content: "\e91e";
|
||||
}
|
||||
.icon-format_hytale:before {
|
||||
content: "\e91f";
|
||||
content: "\e91f";
|
||||
}
|
||||
.icon-format_java:before {
|
||||
content: "\e920";
|
||||
content: "\e920";
|
||||
}
|
||||
.icon-format_optifine:before {
|
||||
content: "\e921";
|
||||
content: "\e921";
|
||||
}
|
||||
.icon-sketchfab:before {
|
||||
content: "\e919";
|
||||
content: "\e919";
|
||||
}
|
||||
.icon-blockbench_file:before {
|
||||
content: "\e900";
|
||||
content: "\e900";
|
||||
}
|
||||
.icon-vertexsnap:before {
|
||||
content: "\e901";
|
||||
content: "\e901";
|
||||
}
|
||||
.icon-create_bitmap:before {
|
||||
content: "\e902";
|
||||
content: "\e902";
|
||||
}
|
||||
.icon-objects:before {
|
||||
content: "\e903";
|
||||
content: "\e903";
|
||||
}
|
||||
.icon-bow:before {
|
||||
content: "\e904";
|
||||
content: "\e904";
|
||||
}
|
||||
.icon-bb_interface:before {
|
||||
content: "\e905";
|
||||
content: "\e905";
|
||||
}
|
||||
.icon-blockbench:before {
|
||||
content: "\e906";
|
||||
content: "\e906";
|
||||
}
|
||||
.icon-x11:before {
|
||||
content: "\e907";
|
||||
content: "\e907";
|
||||
}
|
||||
.icon-baby_zombie:before {
|
||||
content: "\e908";
|
||||
content: "\e908";
|
||||
}
|
||||
.icon-armor_stand:before {
|
||||
content: "\e909";
|
||||
content: "\e909";
|
||||
}
|
||||
.icon-armor_stand_small:before {
|
||||
content: "\e90a";
|
||||
content: "\e90a";
|
||||
}
|
||||
.icon-ground:before {
|
||||
content: "\e90b";
|
||||
content: "\e90b";
|
||||
}
|
||||
.icon-hud:before {
|
||||
content: "\e90c";
|
||||
content: "\e90c";
|
||||
}
|
||||
.icon-inventory_full:before {
|
||||
content: "\e90d";
|
||||
content: "\e90d";
|
||||
}
|
||||
.icon-inventory_nine:before {
|
||||
content: "\e90e";
|
||||
content: "\e90e";
|
||||
}
|
||||
.icon-inventory_single:before {
|
||||
content: "\e90f";
|
||||
content: "\e90f";
|
||||
}
|
||||
.icon-player_head:before {
|
||||
content: "\e910";
|
||||
content: "\e910";
|
||||
}
|
||||
.icon-zombie:before {
|
||||
content: "\e911";
|
||||
content: "\e911";
|
||||
}
|
||||
.icon-blockbench_inverted:before {
|
||||
content: "\e912";
|
||||
content: "\e912";
|
||||
}
|
||||
.icon-optifine_file:before {
|
||||
content: "\e913";
|
||||
content: "\e913";
|
||||
}
|
||||
.icon-saved:before {
|
||||
content: "\e914";
|
||||
content: "\e914";
|
||||
}
|
||||
.icon-player:before {
|
||||
content: "\e915";
|
||||
content: "\e915";
|
||||
}
|
||||
.icon-mirror_x:before {
|
||||
content: "\e916";
|
||||
content: "\e916";
|
||||
}
|
||||
.icon-mirror_y:before {
|
||||
content: "\e917";
|
||||
content: "\e917";
|
||||
}
|
||||
.icon-mirror_z:before {
|
||||
content: "\e918";
|
||||
content: "\e918";
|
||||
}
|
||||
|
||||
|
||||
|
BIN
font/icomoon.ttf
BIN
font/icomoon.ttf
Binary file not shown.
Binary file not shown.
@ -962,7 +962,7 @@ Blockbench.on('finish_edit', event => {
|
||||
|
||||
Interface.definePanels(() => {
|
||||
let panel = new Panel('animation_controllers', {
|
||||
icon: 'timeline',
|
||||
icon: 'cable',
|
||||
condition: {modes: ['animate'], features: ['animation_controllers'], method: () => AnimationController.selected},
|
||||
default_position: {
|
||||
slot: 'bottom',
|
||||
|
@ -1245,6 +1245,7 @@ Interface.definePanels(() => {
|
||||
>
|
||||
<i class="material-icons keyframe_icon_smaller" v-if="keyframe.interpolation == 'catmullrom'">lens</i>
|
||||
<i class="material-icons keyframe_icon_step" v-else-if="keyframe.interpolation == 'step'">eject</i>
|
||||
<i class="icon-keyframe_bezier" v-else-if="keyframe.interpolation == 'bezier'"></i>
|
||||
<i :class="keyframe.data_points.length == 1 ? 'icon-keyframe' : 'icon-keyframe_discontinuous'" v-else></i>
|
||||
<svg class="keyframe_waveform" v-if="keyframe.channel == 'sound' && keyframe.data_points[0].file && waveforms[keyframe.data_points[0].file]" :style="{width: waveforms[keyframe.data_points[0].file].duration * size}">
|
||||
<polygon :points="getWaveformPoints(waveforms[keyframe.data_points[0].file].samples, size)"></polygon>
|
||||
|
Loading…
Reference in New Issue
Block a user