<commit_before>import QtQuick 2.2

Item {

   id: qrezi
   objectName: "qrezi"

   property Config config: Config {}

   width:  config.slide_width
   height: config.slide_height

   property alias slides: zoomer.slides
   property alias current_slide: zoomer.current_slide
   property alias current_frame: zoomer.current_frame

   default property alias items: zoomer.frames

   property alias current_x:     zoomer.x
   property alias current_y:     zoomer.y
   property alias current_scale: zoomer.scale

   property alias background: background_holder.children
   property alias foreground: foreground_holder.children

   Item {
      id: background_holder
      anchors.fill: parent
   }

   Zoomer {

      id: zoomer

      anchors.fill: parent

      // TODO
      // • if slide is already current refocus if zoomed out/in and clicked again

      readonly property int slide_width:  800
      readonly property int slide_height: 450

      width:  slide_width
      height: slide_height


      property variant slides: this.frames
      property int current_slide: 0
<commit_msg>Fixed wrongly forwarded current position properties.<commit_after>import QtQuick 2.2

Item {

   id: qrezi
   objectName: "qrezi"

   property Config config: Config {}

   width:  config.slide_width
   height: config.slide_height

   property alias slides: zoomer.slides
   property alias current_slide: zoomer.current_slide
   property alias current_frame: zoomer.current_frame

   default property alias items: zoomer.frames

   property alias current_x:     zoomer.current_x
   property alias current_y:     zoomer.current_y
   property alias current_scale: zoomer.current_scale

   property alias background: background_holder.children
   property alias foreground: foreground_holder.children

   Item {
      id: background_holder
      anchors.fill: parent
   }

   Zoomer {

      id: zoomer

      anchors.fill: parent

      // TODO
      // • if slide is already current refocus if zoomed out/in and clicked again

      readonly property int slide_width:  800
      readonly property int slide_height: 450

      width:  slide_width
      height: slide_height


      property variant slides: this.frames
      property int current_slide: 0

{'fraction_non_alphanumeric': 0.05042391789379741, 'fraction_numerical': 0.008032128514056224, 'mean_word_length': 2.9964349376114083, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '82218', 'n_tokens_mistral': 650, 'n_tokens_neox': 595, 'n_words': 203}