if语句内赋值修正 #9

顺便把烦人的.user文件加入ignore
This commit is contained in:
2025-10-25 02:52:36 +08:00
parent c89243452d
commit 541f89b0b2
4 changed files with 5 additions and 8 deletions

1
.gitignore vendored
View File

@ -76,3 +76,4 @@ Plugins/**/Intermediate/*
# Cache files for the editor to use
DerivedDataCache/*
BusyRabbit.uproject.DotSettings.user

View File

@ -1,5 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=4F8A2207_002DE0F5_002DA9C1_002D5E41_002D4243D0FAAC15_002Fd_003Aboost_002D1_005F82_005F0_002Fd_003Ainclude_002Fd_003Aboost_002Fd_003Acoroutine_002Fd_003Adetail_002Ff_003Apreallocated_002Ehpp/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=4F8A2207_002DE0F5_002DA9C1_002D5E41_002D4243D0FAAC15_002Fd_003Aboost_002D1_005F82_005F0_002Fd_003Ainclude_002Fd_003Aboost_002Fd_003Asafe_005Fnumerics_002Fd_003Aconcept_002Ff_003Apromotion_005Fpolicy_002Ehpp/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=5E061600_002DD0A1_002DF678_002DBF8E_002D1D2CD7670646_002Fd_003AEigen_002Fd_003Asrc_002Fd_003ACore_002Fd_003Autil_002Ff_003AConstants_002Eh/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=B5255153_002DA839_002D6956_002D3EF8_002D0716EE76F13A_002Fd_003A5414_002Fd_003AInclude_002Fd_003Atools_002Fd_003Aclang_002Fd_003Arewrite_005Fto_005Fchrome_005Fstyle_002Fd_003Atests_002Fd_003Agen_002Ff_003Athing_002Eh/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>

View File

@ -18,7 +18,8 @@ bool UPW_SimpleWidget::Initialize(){
void UPW_SimpleWidget::SetVisible(bool InVisible){
if (bVisible == InVisible) { return; }
if ((bVisible = InVisible)) {
bVisible = InVisible;
if (bVisible) {
SetVisibility(ESlateVisibility::SelfHitTestInvisible);
}
else {

View File

@ -131,10 +131,10 @@ void UPW_TableSwitcher::RebuildSwitcher(const TMap<FName, FTableSwitcherInfo>& I
});
Widget->OnHoverStateChange.AddLambda([WeakThis](UPW_TableSwitcherWidget* SelectedWidget, bool IsHover) {
UPW_TableSwitcherWidget* TableWidget;
;
if (!WeakThis.IsValid()) return;
for (UWidget* RawWidget : WeakThis->SwitcherBar->GetAllChildren()) {
if ((TableWidget = Cast<UPW_TableSwitcherWidget>(RawWidget))) {
if (UPW_TableSwitcherWidget* TableWidget = Cast<UPW_TableSwitcherWidget>(RawWidget)) {
TableWidget->SetHoveredState(false);
}
}