Skip to content

Commit b9c19e5

Browse files
committed
Remove some annoying warn
1 parent f70d77d commit b9c19e5

7 files changed

+7
-10
lines changed

build/three-mesh-ui.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,6 @@ function InlineManager( Base ) {
13371337
lines.height = 0;
13381338

13391339
const INTERLINE = this.getInterLine();
1340-
console.warn(INTERLINE);
13411340

13421341
this.childrenInlines.reduce( ( lastInlineOffset, inlineComponent ) => {
13431342

@@ -1403,7 +1402,7 @@ function InlineManager( Base ) {
14031402
// Compute lines dimensions
14041403

14051404
let width = 0, height =0, lineOffsetY = -INTERLINE/2;
1406-
lines.forEach( ( line, i ) => {
1405+
lines.forEach( ( line ) => {
14071406

14081407
//
14091408

build/three-mesh-ui.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three-mesh-ui.module.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,6 @@ function InlineManager( Base ) {
13401340
lines.height = 0;
13411341

13421342
const INTERLINE = this.getInterLine();
1343-
console.warn(INTERLINE);
13441343

13451344
this.childrenInlines.reduce( ( lastInlineOffset, inlineComponent ) => {
13461345

@@ -1406,7 +1405,7 @@ function InlineManager( Base ) {
14061405
// Compute lines dimensions
14071406

14081407
let width = 0, height =0, lineOffsetY = -INTERLINE/2;
1409-
lines.forEach( ( line, i ) => {
1408+
lines.forEach( ( line ) => {
14101409

14111410
//
14121411

build/three-mesh-ui.module.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "three-mesh-ui",
3-
"version": "6.5.3",
3+
"version": "6.5.4",
44
"description": "a library on top of three.js to help in creating 3D user interfaces",
55
"engines": {
66
"node": "x.x.x"

src/components/core/InlineManager.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ export default function InlineManager( Base ) {
261261
lines.height = 0;
262262

263263
const INTERLINE = this.getInterLine();
264-
console.warn(INTERLINE);
265264

266265
this.childrenInlines.reduce( ( lastInlineOffset, inlineComponent ) => {
267266

@@ -327,7 +326,7 @@ export default function InlineManager( Base ) {
327326
// Compute lines dimensions
328327

329328
let width = 0, height =0, lineOffsetY = -INTERLINE/2;
330-
lines.forEach( ( line, i ) => {
329+
lines.forEach( ( line ) => {
331330

332331
//
333332

0 commit comments

Comments
 (0)