AllenCell / AllenCell/vole-core

use setChannelOptions more

Aperta
#159 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
milestone candidate Tech Debt
Lingua principale
TypeScript
Stelle
106
Fork
11
Merge medio
3g 51m
PR unite (30g)
12

Descrizione

## Use Case

We have too many code paths for setting the same settings.

## Solution

For all of the top-level View3d api calls that set very specific data, we should have their internal implementations all be routed into our more generalized setChannelOptions. We can do this without changing the View3d api.

## Alternatives

API changes to deprecate the single setting functions and then enforce setChannelOptions as the only public API is a bigger decision that has less effect on stability and could be considered separately.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.