Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slice not showing 3.2.HMI #14

Open
Dougwar opened this issue May 17, 2018 · 0 comments
Open

Slice not showing 3.2.HMI #14

Dougwar opened this issue May 17, 2018 · 0 comments

Comments

@Dougwar
Copy link

Dougwar commented May 17, 2018

Hi, the slice image was not showing, so I change this in /bin/plugins/nextion/pages/printingHome.js :

`
case 11:
_context2.next = 13;
return this.getValue("t12.x");

          case 13:
            this.imageX = _context2.sent;
            _context2.next = 16;
            return this.getValue("t12.y");

          case 16:
            this.imageY = _context2.sent;
            _context2.next = 19;
            return this.getValue("t12.w");

to this
`
case 11:
_context2.next = 13;
return this.getValue("m0.x");

          case 13:
            this.imageX = _context2.sent;
            _context2.next = 16;
            return this.getValue("m0.y");

          case 16:
            this.imageY = _context2.sent;
            _context2.next = 19;
            return this.getValue("m0.w");`        

Now its working fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant