diff --git a/release.md b/release.md index 8f95f8aa..6ead48a6 100644 --- a/release.md +++ b/release.md @@ -3,6 +3,11 @@ Full docs @ https://docs.grid.space/projects/kiri-moto +# Release 3.9 + +* CAM clearly delineate ops reachable or not on timeline + + # Release 3.8 (2023-01-21) * update server-side sample module code diff --git a/src/kiri-mode/cam/client.js b/src/kiri-mode/cam/client.js index 5e66d09e..0ce456ed 100644 --- a/src/kiri-mode/cam/client.js +++ b/src/kiri-mode/cam/client.js @@ -467,17 +467,20 @@ CAM.init = function(kiri, api) { $('ophint').style.display = oplist.length > (isIndexed ? 1 : 0) ? 'none' : ''; let bind = {}; let scale = API.view.unit_scale(); + let notime = false; oplist.forEach((rec,i) => { let clock = rec.type === '|'; - let label = clock ? '' : rec.type; + let label = clock ? `` : rec.type; + let clazz = notime ? [ "draggable", "notime" ] : [ "draggable" ]; html.appendAll([ - `
`, + `
`, ``, clock ? '' : ``, `
` ]); bind[mark+i] = rec; + notime = notime || clock; }); let listel = $('oplist'); listel.innerHTML = html.join(''); diff --git a/web/kiri/index.css b/web/kiri/index.css index f0b43ba9..c93972c3 100644 --- a/web/kiri/index.css +++ b/web/kiri/index.css @@ -879,6 +879,9 @@ th, tr, td, label { #oplist .drag { background-color: var(--highlight) !important; } +#oplist .notime { + background-color: rgba(150,150,150,0.5) !important; +} #oplist .disabled { background-color: rgba(220,150,150,0.5) !important; }