ctn-archive / nengo_gui_2014

HTML5 graphical interface for Nengo -- now obsolete! Please use https://github.com/nengo/nengo_gui instead
Other
6 stars 0 forks source link

Resetting of zooming levels #78

Closed studywolf closed 10 years ago

studywolf commented 10 years ago

I accidentally zoomed in on an ensemble and didn't realize what was going on, and then things got screwy, when this happens is reloading the network the way to go?

celiasmith commented 10 years ago

if you double click on anything it will zoom to that thing, or on the background it will zoom to the whole network

studywolf commented 10 years ago

Right, I mean the relative zoom of the different objects got messed up.

studywolf commented 10 years ago

btw the double clicking for the zooming to that thing looks great!

celiasmith commented 10 years ago

you want something that resets everything to zoom of 1? or just a specific network? right now yeah reloading the network is probably the way to go

studywolf commented 10 years ago

Hm, what about in this network, the double click doesn't seem to be working for me:

import nengo
import nengo.networks.basalganglia as bg

model = nengo.Network()
with model:

    vis = nengo.Network(label="1")
    with vis:
        bg = bg.BasalGanglia(1)
celiasmith commented 10 years ago

I copy-pasted that and it worked fine (double clicking and all). Not sure how to proceed on that... could you try again with the latest version?

studywolf commented 10 years ago

It seems to work now! Don't know what was going on...