Fix various typos with codespell
Also includes typo fixes from #79993, #80068, #80276, and #80303. Co-authored-by: betalars <contact@betalars.de> Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com> Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com> Co-authored-by: Raul Santos <raulsntos@gmail.com>
This commit is contained in:
parent
16a93563bf
commit
faaf27f284
35 changed files with 54 additions and 56 deletions
|
|
@ -88,7 +88,7 @@ const GodotAudio = {
|
|||
GodotAudio.input = GodotAudio.ctx.createMediaStreamSource(stream);
|
||||
callback(GodotAudio.input);
|
||||
} catch (e) {
|
||||
GodotRuntime.error('Failed creaating input.', e);
|
||||
GodotRuntime.error('Failed creating input.', e);
|
||||
}
|
||||
}
|
||||
if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
|
||||
|
|
|
|||
|
|
@ -289,11 +289,11 @@ const GodotDisplayScreen = {
|
|||
const isFullscreen = GodotDisplayScreen.isFullscreen();
|
||||
const wantsFullWindow = GodotConfig.canvas_resize_policy === 2;
|
||||
const noResize = GodotConfig.canvas_resize_policy === 0;
|
||||
const wwidth = GodotDisplayScreen.desired_size[0];
|
||||
const wheight = GodotDisplayScreen.desired_size[1];
|
||||
const dWidth = GodotDisplayScreen.desired_size[0];
|
||||
const dHeight = GodotDisplayScreen.desired_size[1];
|
||||
const canvas = GodotConfig.canvas;
|
||||
let width = wwidth;
|
||||
let height = wheight;
|
||||
let width = dWidth;
|
||||
let height = dHeight;
|
||||
if (noResize) {
|
||||
// Don't resize canvas, just update GL if needed.
|
||||
if (canvas.width !== width || canvas.height !== height) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue