Comments (4)
@OffByOne37 feel free to do a PR if you want. @kimprice take a peek?
from pxt.
@OffByOne37 I checked your suggestion and unfortunately it does not solve the problem. We'll need to look into this further.
from pxt.
Yeah made a PR for the typo.
Looked a bit more on the second error but do not have enough time to thouroughly check it. But it seems like there is the need to add this
export interface FieldTurnRatioOptions extends Blockly.FieldCustomOptions { min?: number; max?: number; }
and
/** * Class for a color wheel field. * @param {number|string} value The initial content of the field. * @param {Function=} opt_validator An optional function that is called * to validate any constraints on what the user entered. Takes the new * text as an argument and returns either the accepted text, a replacement * text, or null to abort the change. * @extends {Blockly.FieldNumber} * @constructor */ constructor( value_: any, params: FieldTurnRatioOptions, opt_validator?: Function ) { super( String(value_), params.min, params.max, "1", "10", "TurnRatio", opt_validator ); this.params = params; (this as any).sliderColor_ = "#a8aaa8"; }
But as I said, this is only an assumption from my side, and I would need to look further.
from pxt.
Too bad, as I said it was only a guess, did not have enough time.
If I have time I will try again to find a solution.
from pxt.
Related Issues (20)
- pxt cli: `uploadtrg` does not work with webapps HOT 2
- Add a Troubleshooting section to GitHub Educator Verification page
- How to unpublish a project HOT 1
- Support for multi-selecting blocks
- Unable to update multi-layer dependencies
- Make GitHub Integration Work with Default Branches of Any Name HOT 1
- Minecraft 2023 Release Blog Post
- Change link in Blog
- MakeCode Arcade Xbox and micro:bit blog post
- the extension isn't working.
- Extension support: Allow a field in pxt.json that will be an extension HOT 1
- ColorWheelHsvPicker HOT 1
- Ability to set default values for arrays in functions
- Allow WebSerial to identify Adafruit CP Express device
- A typo in local name
- Please add an option to import audio on makecode arcade
- generalize hardcoded support for "Image" type in pxt HOT 1
- better documentation for block help plumbing in extension HOT 4
- Pre PR discussion - adding image import support to the asset editor HOT 2
- the screen of the zip 64 isn't working in the simulator and in the hardware HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pxt.