Commit e4088136 authored by limingzhe's avatar limingzhe

fix: debug

parent 29af44d7
...@@ -547,8 +547,12 @@ cc.Class({ ...@@ -547,8 +547,12 @@ cc.Class({
} else if (this.firstItemData) { } 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) { if (!topLeftLetter) {
return false; return false;
} }
...@@ -1507,9 +1511,9 @@ cc.Class({ ...@@ -1507,9 +1511,9 @@ cc.Class({
console.log(' in initDebugLayer'); console.log(' in initDebugLayer');
const layer = new cc.Node(); const layer = new cc.Node();
// if (this.data.isDebug) { if (this.data.isDebug) {
layer.parent = cc.find('Canvas'); layer.parent = cc.find('Canvas');
// } }
layer.width = this.canvas.width / 2; 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