mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
fix: tab drag and drop
This commit is contained in:
@@ -169,14 +169,6 @@ class TermoraFrame : JFrame(), DataProvider {
|
|||||||
rootPane.putClientProperty(FlatClientProperties.TITLE_BAR_SHOW_ICON, false)
|
rootPane.putClientProperty(FlatClientProperties.TITLE_BAR_SHOW_ICON, false)
|
||||||
rootPane.putClientProperty(FlatClientProperties.TITLE_BAR_SHOW_TITLE, false)
|
rootPane.putClientProperty(FlatClientProperties.TITLE_BAR_SHOW_TITLE, false)
|
||||||
rootPane.putClientProperty(FlatClientProperties.TITLE_BAR_HEIGHT, height)
|
rootPane.putClientProperty(FlatClientProperties.TITLE_BAR_HEIGHT, height)
|
||||||
} else if (SystemInfo.isMacOS) {
|
|
||||||
rootPane.putClientProperty("apple.awt.windowTitleVisible", false)
|
|
||||||
rootPane.putClientProperty("apple.awt.fullWindowContent", true)
|
|
||||||
rootPane.putClientProperty("apple.awt.transparentTitleBar", true)
|
|
||||||
rootPane.putClientProperty(
|
|
||||||
FlatClientProperties.MACOS_WINDOW_BUTTONS_SPACING,
|
|
||||||
FlatClientProperties.MACOS_WINDOW_BUTTONS_SPACING_MEDIUM
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SystemInfo.isWindows || SystemInfo.isLinux) {
|
if (SystemInfo.isWindows || SystemInfo.isLinux) {
|
||||||
|
|||||||
Reference in New Issue
Block a user