@usman404/crowjs 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Frames/GridFrame.js +5 -2
- package/package.json +1 -1
package/Frames/GridFrame.js
CHANGED
|
@@ -97,8 +97,11 @@ export class GridFrame extends Frame{
|
|
|
97
97
|
{
|
|
98
98
|
//check if grid is configured or not
|
|
99
99
|
if(this.grid===null){
|
|
100
|
-
|
|
101
|
-
console.log(
|
|
100
|
+
this.gridConfig(this.rows, this.cols);
|
|
101
|
+
console.log(`grid configured automatically [${this.rows}x${this.cols}]`);
|
|
102
|
+
|
|
103
|
+
// console.log("element can't be added: gird not configured,");
|
|
104
|
+
// console.log("call .gridConfig(rows, cols) first to configure grid before adding any elements!");
|
|
102
105
|
return;
|
|
103
106
|
}
|
|
104
107
|
|