Original commit: ad4d97ac82
This commit is contained in:
Wojciech Daniło 2021-04-13 11:10:57 +02:00 committed by GitHub
parent fff2971832
commit 9afda8d8be
3 changed files with 5 additions and 5 deletions

View File

@ -171,7 +171,7 @@ commands.build.rust = async function(argv) {
console.log('Checking the resulting WASM size.')
let stats = fss.statSync(paths.dist.wasm.mainOptGz)
let limit = 4.29
let limit = 4.60
let size = Math.round(100 * stats.size / 1024 / 1024) / 100
if (size > limit) {
throw(`Output file size exceeds the limit (${size}MB > ${limit}MB).`)

View File

@ -165,7 +165,7 @@ optParser.options('theme', {
optParser.options('node-labels', {
group : styleOptionsGroup,
describe : 'Show node labels. Defaults to `true`.',
default : false,
default : true,
type : `boolean`
})

View File

@ -650,11 +650,11 @@ impl HardcodedLayers {
below_main.set_camera(layers.main.camera());
layers.add_layers_order_dependency(&viz,&below_main);
layers.add_layers_order_dependency(&below_main,&layers.main);
layers.add_layers_order_dependency(&layers.main,&label);
layers.add_layers_order_dependency(&layers.main,&cursor);
layers.add_layers_order_dependency(&cursor,&label);
layers.add_layers_order_dependency(&label,&breadcrumbs_background);
layers.add_layers_order_dependency(&breadcrumbs_background,&breadcrumbs_text);
layers.add_layers_order_dependency(&breadcrumbs_text,&cursor);
layers.add_layers_order_dependency(&cursor,&tooltip_background);
layers.add_layers_order_dependency(&breadcrumbs_text,&tooltip_background);
layers.add_layers_order_dependency(&tooltip_background,&tooltip_text);
layers.add_layers_order_dependency(&tooltip_text,&viz_fullscreen);
Self {layers,viz,cursor,label,viz_fullscreen,below_main,breadcrumbs_background,