Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
981910fb0a | ||
|
|
baa9a262fb | ||
|
|
fe1de4a423 | ||
|
|
8537061e79 | ||
|
|
f6b7467324 | ||
|
|
36755400fd | ||
|
|
4cf7ec2da1 | ||
|
|
4b8e9f5715 | ||
|
|
0e99bf0d9e | ||
|
|
69bf34f773 |
@@ -4,7 +4,6 @@ node_js:
|
|||||||
script:
|
script:
|
||||||
- "node node_modules/pxt-core/built/pxt.js travis"
|
- "node node_modules/pxt-core/built/pxt.js travis"
|
||||||
- "node node_modules/pxt-core/built/pxt.js testdir tests"
|
- "node node_modules/pxt-core/built/pxt.js testdir tests"
|
||||||
- "node node_modules/pxt-core/built/pxt.js uploaddoc"
|
|
||||||
sudo: false
|
sudo: false
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pxt-calliope",
|
"name": "pxt-calliope",
|
||||||
"version": "0.5.64",
|
"version": "0.5.68",
|
||||||
"description": "calliope target for PXT",
|
"description": "calliope target for PXT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"JavaScript",
|
"JavaScript",
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"typescript": "^1.8.7"
|
"typescript": "^1.8.7"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pxt-core": "0.5.47",
|
"pxt-core": "0.5.54",
|
||||||
"less": "^2.6.0",
|
"less": "^2.6.0",
|
||||||
"semantic-ui-less": "^2.2.4"
|
"semantic-ui-less": "^2.2.4"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1716,8 +1716,9 @@ namespace pxsim.visuals {
|
|||||||
tiltDecayer = 0;
|
tiltDecayer = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
let ax = (ev.clientX - this.element.clientWidth / 2) / (this.element.clientWidth / 3);
|
let bbox = this.element.getBoundingClientRect();
|
||||||
let ay = (ev.clientY - this.element.clientHeight / 2) / (this.element.clientHeight / 3);
|
let ax = (ev.clientX - bbox.width / 2) / (bbox.width / 3);
|
||||||
|
let ay = (ev.clientY - bbox.height / 2) / (bbox.height / 3);
|
||||||
|
|
||||||
let x = - Math.max(- 1023, Math.min(1023, Math.floor(ax * 1023)));
|
let x = - Math.max(- 1023, Math.min(1023, Math.floor(ax * 1023)));
|
||||||
let y = Math.max(- 1023, Math.min(1023, Math.floor(ay * 1023)));
|
let y = Math.max(- 1023, Math.min(1023, Math.floor(ay * 1023)));
|
||||||
|
|||||||
@@ -35,4 +35,7 @@
|
|||||||
PXT Overrides
|
PXT Overrides
|
||||||
*******************************/
|
*******************************/
|
||||||
|
|
||||||
|
@mainMenuHeight: 5rem;
|
||||||
|
@mobileMenuHeight: 5rem;
|
||||||
|
|
||||||
@blocklyToolboxColor: #F6F4E6;
|
@blocklyToolboxColor: #F6F4E6;
|
||||||
|
|||||||
Reference in New Issue
Block a user