Skip to content

Commit 3876dbe

Browse files
committed
фикс работы гамма коррекции
1 parent 81fd490 commit 3876dbe

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

build-native.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
name="jME3-SpaceShift-Editor"
118118
mainClass="com.ss.editor.Starter"
119119
toolkit="fx"
120-
version="0.6.2"
120+
version="0.6.3"
121121
/>
122122

123123
<mkdir dir="build/classes/META-INF"/>
@@ -130,7 +130,7 @@
130130
<manifest>
131131
<attribute name="Implementation-Vendor" value="spaceshift.ru"/>
132132
<attribute name="Implementation-Title" value="jME3 SpaceShift Editor"/>
133-
<attribute name="Implementation-Version" value="0.6.2"/>
133+
<attribute name="Implementation-Version" value="0.6.3"/>
134134
</manifest>
135135
</fx:jar>
136136

build/package/linux/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: jme3-spaceshift-editor
2-
Version: 0.6.2
2+
Version: 0.6.3
33
Section: tool
44
Maintainer: spaceshift.ru <[email protected]>
55
Priority: optional

resources/ui/css/custom_ids.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@
308308
-fx-min-height: 25;
309309
-fx-pref-height: -fx-min-height;
310310
-fx-max-height: -fx-min-height;
311+
-fx-min-width: 20;
311312
}
312313

313314
#ModelFileEditorParameterContainer {

src/com/ss/editor/Editor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ public static void start(String[] args) throws IOException {
9898

9999
final EditorConfig config = EditorConfig.getInstance();
100100
final AppSettings settings = config.getSettings();
101-
settings.setGammaCorrection(false);
102101

103102
EDITOR.setSettings(settings);
104103
EDITOR.setShowSettings(false);

src/com/ss/editor/config/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public abstract class Config {
2020
public static final String CONFIG_RESOURCE_PATH = "/com/ss/editor/config/config.xml";
2121

2222
public static final String TITLE = "jME3 SpaceShift Editor";
23-
public static final String VERSION = "v.0.6.2";
23+
public static final String VERSION = "v.0.6.3";
2424

2525
public static final String SS_FOLDER_IN_USER_HOME = ".jme3-spaceshift-editor";
2626

src/com/ss/editor/config/EditorConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ public AppSettings getSettings() {
277277
settings.setResolution(screenSize.getWidth(), screenSize.getHeight());
278278
settings.setFrequency(displayMode.getRefreshRate());
279279
settings.setFrameRate(60);
280+
settings.setGammaCorrection(isGammaCorrection());
280281
//settings.setResizable(true);
281282
// settings.putBoolean("GraphicsDebug", true);
282283

0 commit comments

Comments
 (0)