Browse Source

情绪能量转化器去除边界数值;

dev
宋杰 2 days ago
parent
commit
61f84552bf
  1. 30
      src/views/components/emoEnergyConverter.vue

30
src/views/components/emoEnergyConverter.vue

@ -64,21 +64,21 @@ const generateGraphics = (min, max) => {
}); });
} }
// y // y
if (isFullyVisible) {
graphics.push({
type: "text",
left: '13%', //
top: getNumberTop(min, max, region.max),
// top: 100,
style: {
text: region.max.toString(),
fill: region.NumberColor,
fontSize: 12,
fontWeight: "bold",
},
z: 3,
});
}
// if (isFullyVisible) {
// graphics.push({
// type: "text",
// left: '13%', //
// top: getNumberTop(min, max, region.max),
// // top: 100,
// style: {
// text: region.max.toString(),
// fill: region.NumberColor,
// fontSize: 12,
// fontWeight: "bold",
// },
// z: 3,
// });
// }
return graphics; return graphics;
}); });
}; };

Loading…
Cancel
Save