mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-17 10:53:07 +00:00
janitor: cspell fixes
This commit is contained in:
parent
2c82fd7618
commit
df9f86ba4a
3 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
||||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
||||||
|
|
||||||
|
// cSpell: ignore deinit fnbox qsize
|
||||||
|
|
||||||
#![doc = include_str!("README.md")]
|
#![doc = include_str!("README.md")]
|
||||||
#![doc(html_logo_url = "https://slint-ui.com/logo/slint-logo-square-light.svg")]
|
#![doc(html_logo_url = "https://slint-ui.com/logo/slint-logo-square-light.svg")]
|
||||||
#![recursion_limit = "1024"]
|
#![recursion_limit = "1024"]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
||||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
||||||
|
|
||||||
|
// cSpell: ignore hframe qreal tabbar vframe
|
||||||
|
|
||||||
use i_slint_core::input::FocusEventResult;
|
use i_slint_core::input::FocusEventResult;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ pub enum Expression {
|
||||||
level: usize,
|
level: usize,
|
||||||
value: Box<Expression>,
|
value: Box<Expression>,
|
||||||
},
|
},
|
||||||
/// An assignement done with the `foo[idx] = ...`
|
/// An assignment done with the `foo[idx] = ...`
|
||||||
ArrayIndexAssignment {
|
ArrayIndexAssignment {
|
||||||
array: Box<Expression>,
|
array: Box<Expression>,
|
||||||
index: Box<Expression>,
|
index: Box<Expression>,
|
||||||
|
|
@ -464,7 +464,7 @@ impl<'a, T> TypeResolutionContext for EvaluationContext<'a, T> {
|
||||||
}
|
}
|
||||||
PropertyReference::InNativeItem { sub_component_path, item_index, prop_name } => {
|
PropertyReference::InNativeItem { sub_component_path, item_index, prop_name } => {
|
||||||
if prop_name == "elements" {
|
if prop_name == "elements" {
|
||||||
// The `Path::elements` property is not in the NativeClasss
|
// The `Path::elements` property is not in the NativeClass
|
||||||
return &Type::PathData;
|
return &Type::PathData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue