Skip to content

Commit

Permalink
refactor(Topology): update code fix reset not work (#3453)
Browse files Browse the repository at this point in the history
* fix: isFitView not work

* chore: bump version 8.0.6
  • Loading branch information
ArgoZhang authored May 8, 2024
1 parent 659199b commit d2fc6e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>8.0.5</Version>
<Version>8.0.6</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function scale(id, rate, options) {
export function reset(id, options) {
const meta = Data.get(id)
if (meta) {
const meta2d = meta.meta2d;
options = { isFitView: false, isCenterView: false, ...options };
meta.option.isFitView = options.isFitView;
meta.option.isCenterView = options.isCenterView;
Expand Down

0 comments on commit d2fc6e9

Please sign in to comment.