Back to zzTakeoff Community Channel LogoFeature Requests

Overlay Improvements

  • When you upload a new plan set you go through the prompts and it shows the overlayed drawings during the review pages stage. It would be really helpful to have these overlays persist after hitting apply changes.
  • Aligning portions of drawing instead of the whole drawing would be huge. Draw a window around a portion of an overlay and have the ability to move that window instead of the whole drawing. This would be helpful when the new drawing set moves the drawings and notes slightly and out of sync of each other.
  • A native toggle overlay hotkey would be nice.
Jes 4h 18m

I agree with your enhancement requests. Would be nifty.


In the meantime, if you want a hotkey for overlays:


Create a new bookmark in Chrome, name it Overlay Hotkey or something like that, and copy & paste the code below as the URL for the bookmark.


After you load zztakeoff, just open the bookmark, and now when you press Q it will hide/unhide overlays.


You can change it to any keyboard key you prefer to use by modifying the part on the first line in the code below that says var KO='q' and changing that q into the keyboard key you'd prefer to use.


javascript:(function(){if(window.__zzOv){document.removeEventListener('keydown',window.__zzOv,true)}var KO='q';function T(t){if(!t)return false;var g=(t.tagName||'').toUpperCase();return g=='INPUT'||g=='TEXTAREA'||g=='SELECT'||t.isContentEditable}function N(f,m){try{if(typeof window[f]=='function')window[f](m)}catch(e){}}function OV(){var p=takeoffPage.pageId;return(drawObjectsSub.getRecords()||[]).filter(function(r){return r.type=='overlay'&&r.pageId==p})}var h=function(e){if(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)return;if(T(e.target))return;if(typeof takeoffPage=='undefined'||!takeoffPage)return;if((e.key||'').toLowerCase()!=KO)return;e.preventDefault();e.stopPropagation();try{var o=OV();if(!o.length){N('notifySuccess','No overlay on this page');return}var v=o.some(function(x){return !x.hidden});mutations.setDrawObjectVisible({drawObjectId:o.map(function(x){return x._id}),visible:!v});N('notifySuccess',(v?'Overlay off':'Overlay on')+' ('+o.length+')')}catch(err){N('notifyError','Overlay hotkey: '+err.message)}};window.__zzOv=h;document.addEventListener('keydown',h,true);N('notifySuccess','Overlay hotkey armed - press Q')})()

👀1
You must be logged in to post replies. If you don't have an account you can signup here.