-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Fix typos #13571
Fix typos #13571
Conversation
Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s). |
There is no need to update the "what's new.md" file. A changelog will be generated using the PR and its tags. |
Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s). |
There is no need to update the "what's new.md" file. A changelog will be generated using the PR and its tags. |
Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, what an awesome PR. Love it! :-)
I found a few public API changes that should be proxied - a deprecated getter would be the best. Otherwise - this is amazing.
public get minorLineThickness(): number { | ||
return this._minorLineThickness; | ||
} | ||
|
||
public set minorLineTickness(value: number) { | ||
this._minorLineTickness = value; | ||
public set minorLineThickness(value: number) { | ||
this._minorLineThickness = value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wheereas I totally agree that this is a typo and should be fixed, this is a breaking change. We will need to add a (deprecated) proxy to support the old syntax
public get majorLineThickness(): number { | ||
return this._majorLineThickness; | ||
} | ||
|
||
public set majorLineTickness(value: number) { | ||
this._majorLineTickness = value; | ||
public set majorLineThickness(value: number) { | ||
this._majorLineThickness = value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
@@ -460,7 +460,7 @@ export class MRDLSliderBarMaterial extends PushMaterial { | |||
/** | |||
* @internal | |||
*/ | |||
public globaRightIndexTipPosition = new Vector4(0.0, 0.0, 0.0, 1.0); | |||
public globalRightIndexTipPosition = new Vector4(0.0, 0.0, 0.0, 1.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
back-compat
public get highlighterOpacity(): number { | ||
return this._highlighterOpacity; | ||
} | ||
|
||
public set highligherOpacity(value: number) { | ||
if (this._highligherOpacity === value) { | ||
public set highlighterOpacity(value: number) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
back-compat
Snapshot stored with reference name: Test environment: To test a playground add it to the URL, for example: https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13571/merge/index.html#WGZLGJ#4600 Links to test babylon tools with this snapshot: https://playground.babylonjs.com/?snapshot=refs/pull/13571/merge To test the snapshot in the playground with a playground ID add it after the snapshot query string: https://playground.babylonjs.com/?snapshot=refs/pull/13571/merge#BCU1XR#0 |
Public, I would rather not change it. But you are right :-)
Same. As for all public APIs - either we define a deprecated getter for them (in case of members or getters), or sadly leave them as they are
we have a dipose function somewhere? this would feel like a bug.
I would consider that a bug - we should change that.
should be local is rewritten, instead of be rewrited. But I think the 2nd half of the sentence is not really needed TBH. Keep it as is for now.
Waves for sure :-)
Shadows, probably. depending on the context.
is this public? yes - this must be a typo |
Babylon.js/packages/tools/viewer/src/configuration/interfaces/lightConfiguration.ts Line 13 in 0505575
No, it's a local variable name.
|
oh, all of these can be changed :-) |
And once again, thank you so much for all the time invested in this! |
No problem! A bit busy atm, but I'll try to make the new changes within the next few days. |
Moving this to draft for the time being, will move it back when you have the time :-) |
@Lioness100 do you have any updates on this PR ? |
Closing for now and let s reopen if it gets updated. |
This PR fixes a few typos throughout the repository. I noticed a few typos that were either part of public APIs, or that I didn't know what they should be corrected to:
SimplicationQueueSceneComponent
: should beSimplificationQueueSceneComponent
, but it looks publicrecordChunckSize
: should berecordChunkSize
, but it looks publicvolumetricLightMergePostProces
: should bevolumetricLightMergePostProcess
, but it looks publicsupressXRSelectEvents
: should besuppressXRSelectEvents
, but it looks publicdisableSpecatatorMode
: should bedisableSpectatorMode
, but it looks publicdipose
: should bedispose
, but it looks publicdiffuseTexturY
: should bediffuseTextureY
. This is from the following code:The typo is only in the decorator, so I don't know if changing it would be breaking.
locatRect
: located here. I don't know if this spelling is correct, or if it should belocalRect
, or maybelocateRect
?surexposed
: located here, not sure if it's a typorewrited
: located here. I don't really understand the intent of the sentence due to some grammar issues, so I'm not sure the best way to fix it.Wwves
: located here. Should this be "Waves"?onFullcreenRequiredObservable
: should beonFullscreenRequiredObservable
, but it looks publiconEditorFullcreenRequiredObservable
:onEditorFullscreenRequiredObservable
, but it looks publicshadown
: located in a few places, is this a typo? Maybe forshadow
orshadows
?shadowSpotlLightConfiguration
: I think it should beshadowSpotlightConfiguration
, but it looks publicSphericalPolynomalCoefficients
: should beSphericalPolynomialCoefficients
, but it looks publicrotatquatRotationY
: is this a typo?