Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayak UI
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microhacks
Bevy Forks
Kayak UI
Commits
ca1eab24
Verified
Commit
ca1eab24
authored
2 years ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Make window size updater optional
parent
e68d154f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/context.rs
+4
-2
4 additions, 2 deletions
src/context.rs
with
4 additions
and
2 deletions
src/context.rs
+
4
−
2
View file @
ca1eab24
...
@@ -1004,8 +1004,8 @@ impl Plugin for KayakContextPlugin {
...
@@ -1004,8 +1004,8 @@ impl Plugin for KayakContextPlugin {
calculate_ui
calculate_ui
.after
(
update_widgets_sys
)
.after
(
update_widgets_sys
)
.in_base_set
(
CoreSet
::
PostUpdate
),
.in_base_set
(
CoreSet
::
PostUpdate
),
)
)
;
.add_system
(
crate
::
window_size
::
update_window_size
);
//
.add_system(crate::window_size::update_window_size);
// Register reflection types.
// Register reflection types.
// A bit annoying..
// A bit annoying..
...
@@ -1029,6 +1029,8 @@ impl Plugin for KayakContextPlugin {
...
@@ -1029,6 +1029,8 @@ impl Plugin for KayakContextPlugin {
}
}
}
}
pub
use
crate
::
window_size
::
update_window_size
;
fn
calculate_ui
(
world
:
&
mut
World
)
{
fn
calculate_ui
(
world
:
&
mut
World
)
{
// dbg!("Calculating nodes!");
// dbg!("Calculating nodes!");
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment