11<template >
2- <v-container class =" grey lighten-5 mb-6 blockly -toolbox-editor" >
3- <v-row class = " fill-height " >
4- <v-col class =" pa-2 fill-height " >
2+ <v-container class =" grey lighten-5 mb-6 _blockly -toolbox-editor" >
3+ <v-row >
4+ <v-col class =" pa-2 blockly-toolbox-editor " >
55 <blockly-workspace
66 ref =" workspace_toolbox_editor"
77 :settings =" settings"
@@ -107,8 +107,6 @@ export default {
107107 const toolbox_full = require (' ../assets/toolbox_adv.json' );
108108 this .toolbox_editor = toolbox_full;
109109
110- // this.loadMusicPackages();
111-
112110 if (this .toolbox_in ) {
113111 this .toolbox = this .toolbox_in ;
114112 }
@@ -128,25 +126,6 @@ export default {
128126 }
129127 },
130128 methods: {
131- /*
132- loadMusicPackages() {
133- this.$axios.get(`${this.CB}/listMusicPackages`).then((result) => {
134- this.settings.music_instruments = [];
135- this.settings.music_animals = [];
136- const music_packages = JSON.parse(result.data);
137- Object.entries(music_packages).forEach((key) => {
138- const package_key = key[0];
139- const music_package = key[1];
140- const names = [music_package.name_IT, package_key];
141- if (music_package.category == 'instrument') {
142- this.settings.music_instruments.push(names);
143- } else if (music_package.category == 'animal') {
144- this.settings.music_animals.push(names);
145- }
146- });
147- });
148- },
149- */
150129 onChangeCategory () {
151130 if (this .category_index != null
152131 && this .toolbox .kind == categoryToolbox) {
@@ -254,7 +233,12 @@ code {
254233.blocklyToolboxDiv {
255234 z-index : 1 !important ;
256235}
236+
257237.blockly-toolbox-editor {
258238 height : 480px ;
259239}
240+
241+ .blocklyFlyout {
242+ z-index : 1 !important ;
243+ }
260244 </style >
0 commit comments