vicon placement tweak, bclistbox select fixes, new ctrl-a/s shortcuts
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / awindowgui.C
index 5756453c95909b92be6acaba48078e253e95d626..072f878e80fd933c8bb4dcb88503763c13f691a0 100644 (file)
@@ -573,8 +573,8 @@ ViewPopup *AssetVIconThread::new_view_window()
        int vx = viewing->get_vx(), rx = 0;
        int vy = viewing->get_vy(), ry = 0;
        wdw->get_root_coordinates(vx, vy, &rx, &ry);
-       rx += (rx >= cx ? -view_w : viewing->w);
-       ry += (ry >= cy ? -view_h : viewing->h);
+       rx += (rx >= cx ? -view_w+viewing->w/4 : viewing->w-viewing->w/4);
+       ry += (ry >= cy ? -view_h+viewing->h/4 : viewing->h-viewing->h/4);
        AssetViewPopup *popup = new AssetViewPopup(this, draw_mode,
                rx, ry, view_w, view_h);
        if( draw_mode == ASSET_VIEW_MEDIA_MAP )