Skip to content

Commit

Permalink
Remove some annoying warn
Browse files Browse the repository at this point in the history
  • Loading branch information
swingingtom committed Mar 24, 2023
1 parent f70d77d commit b9c19e5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
3 changes: 1 addition & 2 deletions build/three-mesh-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,6 @@ function InlineManager( Base ) {
lines.height = 0;

const INTERLINE = this.getInterLine();
console.warn(INTERLINE);

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

Expand Down Expand Up @@ -1403,7 +1402,7 @@ function InlineManager( Base ) {
// Compute lines dimensions

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

//

Expand Down
2 changes: 1 addition & 1 deletion build/three-mesh-ui.min.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions build/three-mesh-ui.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,6 @@ function InlineManager( Base ) {
lines.height = 0;

const INTERLINE = this.getInterLine();
console.warn(INTERLINE);

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

Expand Down Expand Up @@ -1406,7 +1405,7 @@ function InlineManager( Base ) {
// Compute lines dimensions

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

//

Expand Down
2 changes: 1 addition & 1 deletion build/three-mesh-ui.module.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "three-mesh-ui",
"version": "6.5.3",
"version": "6.5.4",
"description": "a library on top of three.js to help in creating 3D user interfaces",
"engines": {
"node": "x.x.x"
Expand Down
3 changes: 1 addition & 2 deletions src/components/core/InlineManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ export default function InlineManager( Base ) {
lines.height = 0;

const INTERLINE = this.getInterLine();
console.warn(INTERLINE);

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

Expand Down Expand Up @@ -327,7 +326,7 @@ export default function InlineManager( Base ) {
// Compute lines dimensions

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

//

Expand Down

0 comments on commit b9c19e5

Please sign in to comment.