Skip to content
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 更整洁的跨界传送菜单。 #8

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ jobs:
Expand-Archive -Force ./bin/x64/Debug/SimpleTweaksPlugin/latest.zip ./Artifact

- name: Upload Build Artifact
uses: actions/upload-artifact@v2.2.1
uses: actions/upload-artifact@v4
with:
path: ./Artifact/*
4 changes: 2 additions & 2 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/v9/latest.zip -OutFile latest.zip
Invoke-WebRequest -Uri https://ottercorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Build
run: msbuild dev/SimpleTweaksPlugin.Dev.sln /p:Configuration=Debug
Expand All @@ -34,7 +34,7 @@ jobs:
Expand-Archive -Force ./bin/x64/Debug/SimpleTweaksPlugin/latest.zip ./Artifact

- name: Upload Build Artifact
uses: actions/upload-artifact@v2.2.1
uses: actions/upload-artifact@v4
with:
name: pr-artifact
path: ./Artifact/*
2 changes: 1 addition & 1 deletion SimpleTweaksPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</PropertyGroup>
<PropertyGroup Label="Feature">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>1.10.2.1</Version>
<Version>1.10.2.2</Version>
</PropertyGroup>
<PropertyGroup>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
Expand Down
2 changes: 1 addition & 1 deletion Tweaks/UiAdjustment/ImprovedWorldVisit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private void SetupWorldTravelSelect(AtkUnitBase* unitBase) {
currentWorldNode->SetHeight(24);
currentWorldNode->SetXShort(25);

var orderedWorlds = Service.Data.GetExcelSheet<World>()!.Where(w => w.DataCenter.Row == currentDc && w.IsPublic).OrderBy(w => w.Name.RawString).Select(w => w.Name.RawString).ToList();
var orderedWorlds = Service.Data.GetExcelSheet<World>()!.Where(w => w.DataCenter.Row == currentDc && w.RowId > 1000 && w.RowId != 1200).OrderBy(w => w.Name.RawString).Select(w => w.Name.RawString).ToList();
var currentIndex = orderedWorlds.IndexOf(currentWorld.Name.RawString);
var pY = -26 + 24 * currentIndex;
currentWorldNode->SetYFloat(pY);
Expand Down
Loading