Got rid of the annoying behavior of "popstack" to not return to the

original view position;  this was due to not setting units to
internal before re-applying the previous view position.  Also wrapped
most of the "popstack" routine into a suspendall...resumeall block so
that the view is refreshed only once;  this is especially important
when popping back into a full chip view.
This commit is contained in:
Tim Edwards 2021-04-01 12:31:46 -04:00
parent fcdce0553d
commit 8f8c3f77f2
2 changed files with 8 additions and 3 deletions

View File

@ -1 +1 @@
8.3.150
8.3.151

View File

@ -156,12 +156,17 @@ proc magic::popstack {} {
} else {
set ltag [tag load]
tag load {}
suspendall
load [lindex $editstack end]
set snaptype [snap]
snap internal
view [lindex $editstack end-1]
tag load $ltag
set editstack [lrange $editstack 0 end-2]
snap $snaptype
catch {magic::cellmanager}
catch {magic::captions}
resumeall
tag load $ltag
set editstack [lrange $editstack 0 end-2]
}
return
}