olinlibrary / infinity-board

An infinite canvas to explore. Drag, drop, and add text to this browser-based, real-time canvas.

Home Page:http://infinityboard.olin.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor shared z-index

mpbrucker opened this issue · comments

Currently, the z-index is updated between clients by incrementing a "global" z-index any time a box is grabbed and propagating that change among clients. This is a pretty bad solution and very susceptible to bugs. There should be a way to share z-index without infinitely incrementing a single value.

Being integrated as part of #8.