Commit e4088136 authored by limingzhe's avatar limingzhe

fix: debug

parent 29af44d7
......@@ -547,8 +547,12 @@ cc.Class({
} else if (this.firstItemData) {
const firstText = this.firstItemData.labelText
const firstTextArr = firstText.split(' ');
const topLeftLetter = this.getPhotoLabelData(firstTextArr, block);
const topLeftLetter = this.getTopLeftLetter(this.firstItemData.labelText, block, topLabelData);
// const topLeftLetter = this.getTopLeftLetter(this.firstItemData.labelText, block, topLabelData);
if (!topLeftLetter) {
return false;
}
......@@ -1507,9 +1511,9 @@ cc.Class({
console.log(' in initDebugLayer');
const layer = new cc.Node();
// if (this.data.isDebug) {
if (this.data.isDebug) {
layer.parent = cc.find('Canvas');
// }
}
layer.width = this.canvas.width / 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment