Skip to content

Commit 4b72c51

Browse files
committed
Coding - fix EOLs within main.qml
1 parent 265c8cf commit 4b72c51

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.yml eol=lf
2+
*.qml eol=lf
23
*.htm eol=lf
34
*.html eol=lf
45
*.js eol=lf

occt-qtquick/main.qml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ ApplicationWindow {
3434
}*/
3535

3636
// Viewer background color slider
37-
Slider {
37+
Slider {
3838
anchors.bottom: parent.bottom
3939
anchors.bottomMargin: 10
4040
anchors.left: parent.left
4141
anchors.leftMargin: 20
4242
anchors.right: btn_about.left
4343
anchors.rightMargin: 20
44-
from: 0
45-
value: 0
46-
to: 255
47-
onMoved: occt_view.backgroundColor = Qt.rgba(value/255.0, value/255.0, value/255.0);
44+
from: 0
45+
value: 0
46+
to: 255
47+
onMoved: occt_view.backgroundColor = Qt.rgba(value/255.0, value/255.0, value/255.0);
4848
}
4949

5050
// About button
@@ -69,8 +69,8 @@ ApplicationWindow {
6969
MouseArea {
7070
anchors.fill: parent
7171
onClicked: dlg_about.open()
72-
hoverEnabled: true
73-
onEntered: btn_about.color = "cyan"
72+
hoverEnabled: true
73+
onEntered: btn_about.color = "cyan"
7474
onExited: btn_about.color = btn_about.mainColor
7575
}
7676
}

0 commit comments

Comments
 (0)