mirror of
https://github.com/enso-org/enso.git
synced 2024-12-19 00:51:34 +03:00
Original commit: ad4d97ac82
This commit is contained in:
parent
fff2971832
commit
9afda8d8be
@ -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).`)
|
||||
|
@ -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`
|
||||
})
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user