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:
parent
fcdce0553d
commit
8f8c3f77f2
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue