Skip to content
Snippets Groups Projects
  1. Jul 21, 2020
  2. Jul 15, 2020
    • Albert Gräf's avatar
      Fix some remaining issues with the touch interface. · ff7e9139
      Albert Gräf authored
      - Disable touch-scrolling in situations where it interferes with other
        actions, like operating a slider, or dragging objects or the selection
        rectangle in edit mode.
      
      - Truncate fractional touch coordinates which were causing glitches in the
        FUDI interface.
      
      - Make dragging of iemgui labels and scalar draggables work (kind of).
      
      TODO: Dragging (specifically in edit mode) can be a bit tricky in cases where
      it's difficult to hit the right spot to initiate the drag action. This
      *might* be solvable by making the algorithm identifying these spots a bit more
      lenient, and accept touches which are a bit off.
      
      Also, despite my best efforts, dragging iemgui label handles in edit mode
      still needs quite some faffing about when using touch: After clicking the
      iemgui object to make the handle appear, you first need to drag the handle a
      little (horizontally, vertically, or diagonally) to make the corresponding
      drag cursor appear, then release and touch the drag cursor *again* to drag the
      handle to its final destination (and the label along with it). It goes without
      saying that this seems overly complicated, but there doesn't seem to be an
      easy way to work around this in the GUI, as the whole process goes back and
      forth between GUI and engine in several steps in the current implementation.
      ff7e9139
    • Albert Gräf's avatar
    • spidercatnat's avatar
      Doubles scrollbar width · 21e07bfd
      spidercatnat authored and Albert Gräf's avatar Albert Gräf committed
      21e07bfd
    • spidercatnat's avatar
      Increases scrollbar width for touch UX · 13f5b3b3
      spidercatnat authored and Albert Gräf's avatar Albert Gräf committed
      13f5b3b3
    • spidercatnat's avatar
      Does not call dropdown_index_to_pd() if touchstart · b9150893
      spidercatnat authored and Albert Gräf's avatar Albert Gräf committed
      b9150893
    • spidercatnat's avatar
      Makes pulldowns work with touch events · b3817af5
      spidercatnat authored and Albert Gräf's avatar Albert Gräf committed
      b3817af5
    • spidercatnat's avatar
      Adds touch support · 8a01dde9
      spidercatnat authored and Albert Gräf's avatar Albert Gräf committed
      8a01dde9
  3. Jul 13, 2020
  4. Jul 12, 2020
  5. Jul 11, 2020
    • Jonathan Wilkes's avatar
      This adds the following: · 0eeeb22e
      Jonathan Wilkes authored
      * b_sym field to t_textbuf
      * 2nd inlet and "send" method for text define
      * text insert class
      * improve a stray evalfile error
      * show the [text] name (if it exists) in the title for the window
      * updates help doc accordingly
      0eeeb22e
  6. Jul 08, 2020
  7. Jul 07, 2020
  8. Jul 03, 2020
  9. Jun 26, 2020
  10. Jun 23, 2020
  11. Jun 19, 2020
  12. Jun 17, 2020
    • Ivica Bukvic's avatar
      Fixed centering of the closing prompt, removed shadow and increased opacity of... · 10bf84c9
      Ivica Bukvic authored
      Fixed centering of the closing prompt, removed shadow and increased opacity of the background dimming.
      10bf84c9
    • Ivica Bukvic's avatar
      Cosmetic fixes to respond to changes to nw 0.46.2 behavior. Namely, fixed main... · 82c35e64
      Ivica Bukvic authored
      Cosmetic fixes to respond to changes to nw 0.46.2 behavior. Namely, fixed main purr-data window starting location and size and windows now restore where they are supposed to. Also disabled debugging output.
      82c35e64
    • Ivica Bukvic's avatar
      First checkpoint in implementing custom scrollbars and improving the scrollbar... · e2e65133
      Ivica Bukvic authored
      First checkpoint in implementing custom scrollbars and improving the scrollbar behavior. This is a WIP that requires nw.js 0.46.2.
      
      Finished second stage of the scrollbar implementation and added scrolling with middle click. All scrollbars are now operational and to the best of my knowledge accurate. The only things remaining are: getscroll needs to be called on deselect to recalculate when the handles are erased on objects that have them (we should get rid of these and focus on bboxes instead), responding to maximizing and restoring, and addressing a weird bug where in 0.46.2 patches are saved with larger window sizes under certain conditions.
      
      Reverted scrolling by grabbing due to problematic relationship between scrollBy and the zoom factor
      
      Continuing work on the scrollbars. The only known thing now remaining is ensuring that the patch window is properly recorded when saving it (under certain conditions it spits out completely wrong values
      
      Removed debug printouts
      
      Finished the scrollbars. The only thing remaining is for someone who has a better understanding of the pd_canvas.js and how the events are captured, to refactor my registration of events that ensure scrollbars are clickable and the onresize event. Currently, they are embedded inside the pd_canvas.js under the body tag where you will find both onscroll and onresize events.
      
      Overhaul of the new scrollbars to further improve their behavior, enable as perfect of a fit of the plots both in gop and on toplevel, and dynamic updating of the plots in toplevel when resized. Reworked dynamic event adding/removal for the scrollbars and removed onscroll from the html document and moved it into the pd_canvas.js. Still need to add a delay for the backend callback to update the scrollbars on the toplevel plot/array and thereby remove scrollbar flicker.
      
      Finished implementing the scrollbar callback and addressed popup not appearing in the right place (likely due to upgrade to 0.46.2)
      
      Added names of arrays to their toplevel subpatch window title. Multiple arrays are listed in the order they have been added.
      
      Another reworking of scrollbars to and array sizing to capture all possible scenarios. Some refactoring to make use of the canvas_hasarray. Remaining known issues pertaining to the plots are:
      *array toplevel windows are not restored in position they were saved
      *last element on the plots is not clickable
      *make bezier plot look like bezier (may need to leverage curve_path)
      e2e65133
    • Jonathan Wilkes's avatar
      some small css improvements to match pd-l2ork 1.0 style · bc74c6bb
      Jonathan Wilkes authored and Ivica Bukvic's avatar Ivica Bukvic committed
      * give new cord the same color as selected line (except for vanilla/ext presets)
      * make broken object stand out more
      * make comment dash sizes match l2ork 1.0
      * change xlet hover animation to match new xlet style
      bc74c6bb
  13. Jun 11, 2020
  14. Jun 10, 2020
  15. Jun 09, 2020
    • Ivica Bukvic's avatar
      Proper fix for the nlet highlighting. Now allows for loose aiming and always... · 172aff49
      Ivica Bukvic authored
      Proper fix for the nlet highlighting. Now allows for loose aiming and always starts the patch cord at the center of the outlet. Inlets from which we currently cannot connect from are grey when highlighted, while ones you can initiate connection from are orange (both colors are themeable inside the css). Also, if trying to connect an impossible connection (signal to non-signal), when hovering over the non-signal inlet during the connection cycle, such an inlet will be also highlighted gray (grey? whatever...). Lastly, updated the highlighting animation--I am really not particularly interested in animation as it tends to slow down the interaction with the patch, so the animation is much shorter and more minimal. Potential value is leaving it as this to provide visibility of the nlet being highlighted when we are already over it with the cursor, which will otherwise occlude the nlet altogether. Another consideration with the currently committed highlight is that it is hollow inside which looks IMO distracting. Curved edges is also distracting since no other aspect of the UI (save for the customized data structures created by the user) is not curved.
      172aff49
    • Ivica Bukvic's avatar
      Long and painful journey to make all plots fit into a GOP graph is (hopefully)... · bedfb40a
      Ivica Bukvic authored
      Long and painful journey to make all plots fit into a GOP graph is (hopefully) complete. One thing I did not test is having multiple plots in a single GOP, even though it should work ok as long as each scalar group is treated as separate.
      
      Improved variable wording and removed extraneous printouts.
      bedfb40a
  16. Jun 08, 2020
  17. May 21, 2020
  18. Mar 01, 2020
  19. Feb 27, 2020
Loading